Blackman/Hamming Window

3 views (last 30 days)
Joanna Mark
Joanna Mark on 14 Jan 2021
Commented: Bjorn Gustavsson on 15 Jan 2021
How can I change the amplitude of a hamming/blackman window and on ox axis and have time on ox axis(in seconds)?
  6 Comments
Joanna Mark
Joanna Mark on 15 Jan 2021
and one more question: i want to add a line after this window. The code is
R=11;
window=0.4*hamming(R);
X = [11.1,11.4];
Y = [0,0];
total=[window X Y];
But it can't run, because of an error using horzcat
Bjorn Gustavsson
Bjorn Gustavsson on 15 Jan 2021
Whenever you get errors like that always start investigating the cause by checking the sizes of your arrays. Here that would be done most easily with whos:
whos window X Y
That way you can check that you're concatenating arrays of matching sizes.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!