cftool error: output argument "fitobj" (and maybe others) not assigned during call to to "/Applications/MATLAB_R2010b.app/toolbox/curvefit/curvefit/fit.m>iCurveInterpolation".
Show older comments
I'm using the shape-preserving interpolant to fit my data with exclusion rules created graphically in cftool. I have 25 data sets with 1191 points of elevation vs latitude each. All the data sets plot in cftool with no problems and I was able to make exclusion rules. For 6 of my 25 data sets I was able to get a fit without any error. The rest of the data sets all returned this error: Fit could not be computed due to error: Output argument "fitobj" (and maybe others) not assigned during call to "/Applications/MATLAB_R2010b.app/toolbox/curvefit/curvefit/fit.m>iCurveInterpolation".
The data sets are identical in format, so I don't understand why some worked successfully. Any idea what I'm doing wrong? Thanks!
by the way, I'm using MATLAB 7.11.10 (R2010b)
Answers (1)
Sean de Wolski
on 21 Jun 2012
0 votes
This happens if you have non-unique values in your data. I think as of R2011a it can account for them..
Categories
Find more on Get Started with Curve Fitting 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!