Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

How to Fix this Error!

Asked by Danial

Danial (view profile)

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 (view profile)

on 15 May 2013

You have DSP System Toolbox?

iirnotch function from DSP System Toolbox.

Danial

Danial (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Craig Cowled

Craig Cowled (view profile)

on 15 May 2013

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

0 Comments

Craig Cowled

Craig Cowled (view profile)

Contact us