impulse response of a LTI system in Matlab
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
JjjO
il 12 Apr 2021
Risposto: Swetha Polemoni
il 15 Apr 2021
Hi I've been learning Matlab for a month and I have no idea how to solve them.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/580482/image.jpeg)
My code works, but the result isn't what I expected.
a=[1,1,1];
b=[0,0,1,-1,1,-1];
x=impseq(0,0,6); n=[0:6];
h=filter(b,a,x);
stem(n,h,'r','LineWidth', 2);
I don't know which part I should fix... please help me.
2 Commenti
Jithin Nambiar J
il 12 Apr 2021
Can you please explain what the question actually is? Do you want to find out the convolution of the sequences?
Risposta accettata
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!