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

10 次查看(过去 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 个评论

请先登录,再进行评论。

回答(1 个)

Birdman
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 个评论
Rhea Shah
Rhea Shah 2020-4-9
Hey thank you so much. I got the impulse and frequency response output. But i am not getting transfer function output as I don't have the tool box installed. I have the 2019a version. Is there some another approach to it?

请先登录,再进行评论。

类别

Help CenterFile 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!

Translated by