How to plot LTI system for below question.

How to Plot the output of LTI system where input is ?[?] = [8,6,3,9] and system response, ℎ[?] = [1,1,6,0] without using inbuilt command of MATLAB ?

2 comentarios

KALYAN ACHARJYA
KALYAN ACHARJYA el 18 de Oct. de 2019
Have you tried?
Dinesh Aradhya
Dinesh Aradhya el 20 de Oct. de 2019
yes

Iniciar sesión para comentar.

Respuestas (1)

Katarina Vuckovic
Katarina Vuckovic el 19 de Oct. de 2019

0 votos

x=[8 6 3 9]
h= [1 1 6 0]
m=length(x);
n=length(h);
X=[x,zeros(1,n)];
H=[h,zeros(1,m)];
for i=1:n+m-1
Y(i)=0;
for j=1:m
if(i-j+1>0)
Y(i)=Y(i)+X(j)*H(i-j+1);
else
end
end
end
Y

Etiquetas

Preguntada:

el 18 de Oct. de 2019

Comentada:

el 20 de Oct. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by