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

KALYAN ACHARJYA
KALYAN ACHARJYA 2019๋…„ 10์›” 18์ผ
Have you tried?
Dinesh Aradhya
Dinesh Aradhya 2019๋…„ 10์›” 20์ผ
yes

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

๋‹ต๋ณ€ (1๊ฐœ)

Katarina Vuckovic
Katarina Vuckovic 2019๋…„ 10์›” 19์ผ

0 ๊ฐœ ์ถ”์ฒœ

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

์นดํ…Œ๊ณ ๋ฆฌ

๋„์›€๋ง ์„ผํ„ฐ ๋ฐ File Exchange์—์„œ Time-Domain Analysis์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

์งˆ๋ฌธ:

2019๋…„ 10์›” 18์ผ

๋Œ“๊ธ€:

2019๋…„ 10์›” 20์ผ

Community Treasure Hunt

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

Start Hunting!

Translated by