y[n] = x[n] - x[n-1] x[n-2] I need to find a) Find the transfer function. b) Give the impulse response. d) Sketch the frequency respo
12 ビュー (過去 30 日間)
古いコメントを表示
I need to find a) Find the transfer function. b) Give the impulse response. d) Sketch the frequency response. How to do it?
[n] = x[n] - x[n-1] + x[n-2]
4 件のコメント
Steven Lord
2020 年 4 月 6 日
Okay. What is your specific question about where you're having difficulty?
回答 (1 件)
Birdman
2020 年 4 月 7 日
Try this:
z=tf('z',0.001);
Gz=1-z^-1+z^-2;
%%transfer function
Gs=d2c(Gz,'tustin')
%%impulse response
figure(1);
impulse(Gs)
%%frequency response
figure(2);
bode(Gs)
5 件のコメント
Birdman
2020 年 4 月 7 日
Do you have Control System Toolbox installed? Type
ver
in command line and paste the output here.
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!