plot zero input response

조회 수: 37 (최근 30일)
Aaron8298
Aaron8298 2021년 2월 10일
답변: randerss simil 2021년 2월 11일
I am trying to plot the zero input response
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)

채택된 답변

randerss simil
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개)

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by