- #1

- 8

- 0

t=1:1:100;

s= 2*sin(2*pi*.05*t)*5*sin(2*pi*2*t)+.75*randn;

plot(t,s)

But i keeps giving me the following error:

??? Error using ==> mtimes

Inner matrix dimensions must agree.

Error in ==> signal at 5

s= 2*sin(2*pi*.05*t)*5*sin(2*pi*2*t)+.75*randn;

Does anyone have any suggestions?