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.

Calculate the gain in matlab

Status
Not open for further replies.

andrew257

Member level 2
Joined
Feb 22, 2007
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,648
hi all,

Can anyone explain how to calculate the gain of a filter in matlab. I can simulate the filter using fdatool and it tells me the gain. However i cannot manually calculate the gain via the results viewer.

Its an iir filter and i have coefficients / transfer fucntion etc.

Thank you

Andy
 

If u have coefficients a and b den use [H,W]=freqz(b,a,....) built in function of MATLAB. Plot abs(H) against W because you have to compute gain at each frequency W
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top