From: Steven Huang on
I am trying to use fdesign tools to have half band FIR
filter design with the given example. Frequency response
looks good but I had a hard time to get the impulse
response displayed.

Here is what have done:

d = fdesign.halfband(.01, 80);
designmethods(d);
design(d,'equiripple');

d =
Response: 'Halfband'

Specification: 'TW,Ast'
Description: {'Transition Width';'Stopband Attenuation
(dB)'}
NormalizedFrequency:
true
TransitionWidth:
0.01
Astop: 80

'd' is an object so there is no way to use freqz(d) or
grpdelay(d).

Anyone has used this tool?

Thanks,
From: Vincent Pellissier on
Hi Steven,

In FVTool, select the Analysis->Impulse Response menu. Alternatively,
click on the 6th icon of the toolbar (up arrow) or simply press Ctrl+R
for a shortcut to the impulse response.

If you want FVTool to open directly on the impulse response analysis, try:

d = fdesign.halfband(.01, 80);
h = design(d,'equiripple');
fvtool(h,'Analysis','impulse')

Hope this helps,

Vincent


---
Steven Huang wrote:
> I am trying to use fdesign tools to have half band FIR
> filter design with the given example. Frequency response
> looks good but I had a hard time to get the impulse
> response displayed.
>
> Here is what have done:
>
> d = fdesign.halfband(.01, 80);
> designmethods(d);
> design(d,'equiripple');
>
> d =
> Response: 'Halfband'
>
> Specification: 'TW,Ast'
> Description: {'Transition Width';'Stopband Attenuation
> (dB)'}
> NormalizedFrequency:
> true
> TransitionWidth:
> 0.01
> Astop: 80
>
> 'd' is an object so there is no way to use freqz(d) or
> grpdelay(d).
>
> Anyone has used this tool?
>
> Thanks,