Is there an error in the documentation of the Curve Fitting Toolbox for the example on different plotting options?

3 views (last 30 days)
The example can be seen at the following URL:
When I execute the following command:
plot(fit1,'k-',x,y,'b.','predf','predo',0.99);
I receive the following error:
ERROR: ??? Error using ==> cfit/plot
Argument 8 is incorrect

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Oct 2022
Edited: MathWorks Support Team on 10 Nov 2022
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is an error within the documentation for the Curve Fitting Toolbox 1.1 (R13.0.1) within the example for the PLOT function.
The documentation should read as follows:
plot(fit1,'k-',x,y,'b.','predfunc','predobs',0.99);

More Answers (0)

Categories

Find more on Fit Postprocessing 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!