How to Fix this Error!

19 views (last 30 days)
Danial
Danial on 15 May 2013
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
Andrei Bobrov
Andrei Bobrov on 15 May 2013
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
Send this to Matlab Support. Obviously their help file has the wrong code.

Categories

Find more on Get Started with DSP System Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!