Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

need help with matlab "freqz" to plot fitler response

Status
Not open for further replies.

nhkch

Junior Member level 2
Joined
Jan 21, 2013
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
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.
 

monsoon

Member level 3
Joined
Oct 19, 2012
Messages
57
Helped
38
Reputation
76
Reaction score
35
Trophy points
1,298
Activity points
1,598
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

phongphanp

Full Member level 5
Joined
Mar 17, 2003
Messages
259
Helped
21
Reputation
44
Reaction score
18
Trophy points
1,298
Location
thailand
Activity points
1,259
Use help to find mathematics functions such as residue , pole , zero, ODE, ... etc .
 

nhkch

Junior Member level 2
Joined
Jan 21, 2013
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,411
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top