Impulse response and step response Please help
조회 수: 17 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Abhishek Ballaney
2018년 2월 21일
https://in.mathworks.com/help/control/ref/impulse.html
https://in.mathworks.com/help/control/ref/step.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!