Impulse response and step response Please help

15 ビュー (過去 30 日間)
shabaz lee
shabaz lee 2018 年 2 月 20 日
回答済み: Abhishek Ballaney 2018 年 2 月 21 日
How do you find impulse response and step response for the function
y(n) = (3/5)^(n)y(n-1) + x(n) for 0<n<20 discrete
This is what i have, can someone help me for n=0:20;
imp = [1; zeros(20,1)]; step = 1;
b = 1;
a = [1 -0.6*exp(n)];
h = filter(b,a,imp);
m = filter(b,a,step);
plot(n,h);
plot(n,m);
end

回答 (1 件)

Abhishek Ballaney
Abhishek Ballaney 2018 年 2 月 21 日
https://in.mathworks.com/help/control/ref/impulse.html
https://in.mathworks.com/help/control/ref/step.html

カテゴリ

Help Center および File ExchangeSimulation, Tuning, and Visualization についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by