Curve Fitting Toolbox error before starting
Show older comments
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
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.
Answers (2)
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
on 20 Mar 2011
0 votes
8 Comments
Walter Roberson
on 20 Mar 2011
You need to give us an idea of the complexity of the curve. It would help if you could post a plot of the curve. Upload the plot to your favorite image sharing system and post the link to it.
Guisella Gacitúa
on 21 Mar 2011
Walter Roberson
on 21 Mar 2011
I think that data will be very difficult to fit meaningfully. It is far too jumpy over the target area to assign curve to it that would have enough confidence to improve beyond using trapz.
The only hope that I can see is if you have some kind of known physical model that explains the kinds of values you see, including reasoning for the jumps: with a physical model in hand, it _might_ be possible to make a better calculation.
Guisella Gacitúa
on 21 Mar 2011
Andreas Goser
on 21 Mar 2011
Independent on whether you can resolve this without the toolbox. what is so diffucult to install the right versions?
Guisella Gacitúa
on 21 Mar 2011
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
on 21 Mar 2011
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!