I am using the FFPLOT (or BODE) function. When I call it with a frequency range argument as specified in the following documentation:
web([docroot,'/toolbox/ident/bode.html#978467'])wmin = 0; wmax = 0.5; NP = 100; w = {wmin,wmax,NP};[mag, phase] = bode(mfb,w)
I receive the following error:
??? Error using ==> ffplot Error using ==> bodeaux When BODE or FFPLOT is called with output argument the syntax is[MAG,PHASE] = BODE(Model,W) with W a vector of realsor [MAG,PHASE,W,SDMAG,SDPHASE] = BODE(Model). Error in ==> show_ffplot_bug at 32 [mag, phase] = ffplot(mfb,w)
When I make the call to FFPLOT without output arguments, the above format works, but I need to use output arguments.
Best Answer