Why is the convolution so different from the analytical answer?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Bradlee Harrison
am 10 Apr. 2021
Kommentiert: Bradlee Harrison
am 10 Apr. 2021
I am trying to graph the convolution of two functions.
t = linspace(0,5,1001);
xt = (exp(-t) + exp(-3*t)).*heaviside(t);
ht = (1.5.*exp(-2.*t) + 1.5.*exp(-4.*t)).*heaviside(t);
yt_n = conv(xt,ht);
yt_a = (2.*exp(-1.*t)-2.*exp(-4.*t)).*heaviside(t)
When comparing yt_n and yt_a, the results are very different. Though, they should be the same since yt_a is just the analytically derived output response for x(t) and y(t), Why is this?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!