Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

need help with matlab "freqz" to plot fitler response

Status
Not open for further replies.

nhkch

Junior Member level 2
Junior Member level 2
Joined
Jan 21, 2013
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,411
i have a transfer function H(z)=(1/m^2)((1-z^-m)/(1-z^-1))^2

In order to use the the command "freqz" i need to convert this transfer function to standard delay form..but i don't know how to convert due to the z^-m...
My m is 32...please help...thanks in advance.
 

z=tf('z',1);
m=32;
Hz=(1/m^2)((1-z^-m)/(1-z^-1))^2;
Hz_imp=impulse(Hz);
freqz(Hz_imp)
 
  • Like
Reactions: nhkch

    nhkch

    Points: 2
    Helpful Answer Positive Rating
Thanks.. It works..
If i want to validate my system to get the same frequecy response. How should i do it?
Apply a signal and run transient...then how to plot the frequency response with the output data with matlab?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top