- #1

- 8

- 0

## Main Question or Discussion Point

I'm pretty new in MATLAB, and I can't seem to get it to display a signal. I have the following:

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?

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?