Curve Fitting Toolbox error before starting

8 views (last 30 days)
Hi, I'm trying to use the Curve fitting Toolbox but I've got an error when I type the command cftool. I think is because my matlab is old and doesn't support the ~ operator, because when I go to the error points to it in the function code. But I'm not such experienced user and I don't know how to solve the problem. Changing it by 'trash' didn't help.
I'll very much appreciate any suggestion. Thank you G.
  1 Comment
Jiro Doke
Jiro Doke on 20 Mar 2011
That doesn't make sense. Are you sure you installed the same version of Curve Fitting Toolbox as the version of MATLAB? Then that kind of error should not happen.
The only thing I can think of is that you have an old version of MATLAB, and you're trying to run functions from a newer version of Curve Fitting Toolbox. You should install the version of the toolbox for your MATLAB. You can't just copy (or run) any version. Each toolbox is meant to run on the same version of MATLAB.

Sign in to comment.

Answers (2)

Andreas Goser
Andreas Goser on 20 Mar 2011
In order to find out the toolbox is installed correctly:
ver
should return MATLAB as well as Curve Fitting toolbox with the same release, e.g.:
MATLAB Version 7.11 (R2010b)
Curve Fitting Toolbox Version 3.0 (R2010b)
And also verify correct licensing:
license('test','Curve_Fitting_Toolbox')
This should return 1.

Guisella Gacitúa
Guisella Gacitúa on 20 Mar 2011
Yes, that's right.. they are different versions.. Then, the question should be how to solve the problem without using the fitting curve toolbox. What I need is to interpolate some points and to obtain a parameter that gives some confidence interval that can be used to calculate the propagation of error in some further estimations using this data. The error should be quite small in my measured points, so the further I go from the known points I should have a higher uncertainty. Thanks.
  8 Comments
Walter Roberson
Walter Roberson on 21 Mar 2011
Okay, so what you have is known to be fairly precise where you have it -- but is there a good model for the transitions between the locations? If not then there isn't anything that can be done.
Guisella Gacitúa
Guisella Gacitúa on 21 Mar 2011
No, there is not model for that. These are direct measurements of natural soil depth, it can be randomly variable in between the known points, but the variability is more pronunced only in this particular section of about 40 meters, where I'm interested on giving the uncertainty in the estimations, maybe based in the slope difference between consecutive points.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!