plot zero input response

39 ビュー (過去 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 Center および File ExchangeNumber Theory についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by