How to plot magnitude and phase spectrum of the function?

E
Emmanuel · Nov 20, 2020 · 2K views
Question
Hye i really confuse on how much method to write the code to plot magnitude and phase. Below is my function. X(z)=z / (z-1)^2 Any idea how to start beside plot?
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Nov 20, 2025

Try This :

 

 
z = tf('z');
X = z / (z-1)^2;

bode(X)
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!