plot zero input response
조회 수: 10 (최근 30일)
이전 댓글 표시
I am trying to plot the zero input response ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/515912/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/515912/image.png)
Here is the code i have so far
syms y
n=0:99;
a_1=3;
a_2=4;
x=(-1/5*y(-1)+4/5*y(-2))*(-1)^n+(16/5*y(-1)+16/5*y(-2))*(4)^n;
plot(0:99,x)
댓글 수: 0
채택된 답변
randerss simil
2021년 2월 11일
%if true
syms y
n=0:99;
a_1=3;
a_2=4;
x=(-1/5*y+4/5*y)*(-1).^n+(16/5*y+16/5*y)*(4).^n;
fplot(x,[-2,-1])
Use fplot
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!