# Matlab - Creating a characteristic for Peak and Shelving filter

I have designed few shelving and peak filter. And I have calculated the a, b coeficients for several gains for these filters. Now I would like to create some kind of characteristic in Matlab so I could present my design of these filters?

Something like this for shelving filter

• freqz - but really, this is a programming question – pichenettes May 13 '14 at 20:21
• i'm just curious, what are your findings? – robert bristow-johnson May 14 '14 at 1:35
• I added my characteristics for filters below. – zdarsky.peter May 15 '14 at 7:45
• but what did you find? and what do you mean by "characteristics"? – robert bristow-johnson May 15 '14 at 15:12
• Yes but no to confirm, but to know if calculated coeficients for filters were right. From these visulations I know that filters work good – zdarsky.peter May 16 '14 at 13:35

I suggest you to use fvtool in MATLAB:

fvtool(b,a)


Thanks to @jojek I managed to create some characteristics for my filters.

Low shelving filter

High shelving filter

Peak filter - bandwidth

Peak filter - gain