How to Fix this Error!

wo = 60/(300/2); bw = wo/35;
[b,a] = iirnotch(wo,bw);
fvtool(b,a);
Undefined function 'iirnotch' for input arguments of type 'double'.

1 Comment

You have DSP System Toolbox?
iirnotch function from DSP System Toolbox.

Sign in to comment.

Answers (1)

Craig Cowled
Craig Cowled on 15 May 2013

0 votes

Send this to Matlab Support. Obviously their help file has the wrong code.

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Asked:

on 15 May 2013

Community Treasure Hunt

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

Start Hunting!