Why does the IIRGRPDELAY function, with a group delay of zero crash MATLAB 6.1 (R12.1)?

Why does the IIRGRPDELAY function, with a group delay of zero crash MATLAB 6.1 (R12.1)?
The following code crashes MATLAB:
iirgrpdelay(8,[0 1],[0 1],[0 0])
The frequency values are arbitrary; what's relevant is the group delay of 0. Obviously zero group delay is illegal, but it crashes Matlab. An error message would be so much more friendly.

 Accepted Answer

This problem has been fixed in the Filter Design Toolbox 2.2 (R13).
If you are using a previous version, there are no known workarounds.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!