Skip to main content
Added Filter Design and plotting code in Matlab
Source Link

I am implementing the moving average filter in Matlab. Using fvtool on this filter, gave the following output curve, is this group delay curve correct?

enter image description hereFigure 1

Edit:

  1. My confusion is regarding the values of the delay output as well as the constant nature of the curve.

I implemented the filter using 'FilterDesigner' tool in matlab (In which, filter dimensions can be specified in the GUI, which then handles the code itself) Attaching a screenshot of the tool window with filter parameters.

enter image description here

After which I exported this filter as an object called 'Hd'

To plot the filter, I did -

fvtool(Hd) 

Which resulted in the curve above (figure 1)

I am implementing the moving average filter in Matlab. Using fvtool on this filter, gave the following output curve, is this group delay curve correct?

enter image description here

I am implementing the moving average filter in Matlab. Using fvtool on this filter, gave the following output curve, is this group delay curve correct?

Figure 1

Edit:

  1. My confusion is regarding the values of the delay output as well as the constant nature of the curve.

I implemented the filter using 'FilterDesigner' tool in matlab (In which, filter dimensions can be specified in the GUI, which then handles the code itself) Attaching a screenshot of the tool window with filter parameters.

enter image description here

After which I exported this filter as an object called 'Hd'

To plot the filter, I did -

fvtool(Hd) 

Which resulted in the curve above (figure 1)

Source Link

Group delay plot of a Moving average filter

I am implementing the moving average filter in Matlab. Using fvtool on this filter, gave the following output curve, is this group delay curve correct?

enter image description here