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 vues (au cours des 30 derniers jours)
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 commentaires
Steven Lord
Steven Lord le 6 Avr 2020
Okay. What is your specific question about where you're having difficulty?

Connectez-vous pour commenter.

Réponses (1)

Birdman
Birdman le 7 Avr 2020
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 commentaires
Birdman
Birdman le 7 Avr 2020
Do you have Control System Toolbox installed? Type
ver
in command line and paste the output here.
Rhea Shah
Rhea Shah le 9 Avr 2020
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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by