- #1
O.J.
- 199
- 0
Homework Statement
plot using matlab:
g = 3 cos (10pi t) convolved with 4 impulse (t +0.1)
Homework Equations
The Attempt at a Solution
x = -10:0.1:10;
u = 3*cos (10*pi*x);
v = 4*dirac(x + 1./10);
y = conv (u,v);
plot (x,y);
but i keep getting this error:
Error using ==> plot
Vectors must be the same lengths
any ideas?