- #1
user101
- 207
- 0
Homework Statement
Graph of x(t) = 9e^-2t for t>=0 and y(t) = 4e^(-9*pi*t).
Is my MATLAB code correct? I did it by hand and I'm getting a different answer, so I don't know which one is the correct one... if my hand one is correctly done or if the MATLAB one is correct. I'm learning MATLAB on my own since our professor doesn't require it... he thinks that we'll rely on it too much, but here's my attempt @ it.
Homework Equations
The Attempt at a Solution
t = 1:7;
x = 9*exp(-2*t);
v = 4*exp(-9*pi*t);
a = conv(x,v);
plot(t,a(1:length(t)))
xlabel('values for t')
ylabel('x(t) * v(t) value')