How can I load data to the Curve Fitting toolbox?
10 views (last 30 days)
Show older comments
I have x and y data in my workspace, but when I try to select data in the Curve Fitting Toolbox, is like if I don't have nothing in the workspace.
2 Comments
Valeria Gabrielli
on 14 Sep 2020
check the correct use of parentes. If you import the data using ( ), they will be imported as table and won't be in the Curve Fitting Toolbox, if you use { } they will be imported as double and available in the Curve Fitting Toolbox.
Answers (2)
Walter Roberson
on 27 Nov 2017
The variables will only be found if they are in the base workspace. If you are inside a function, I suggest using
cftool( x, y )
0 Comments
Chrysi Karagiannaki
on 7 Oct 2022
If you have any NaN or Inf values it doesn't allow you to import the x,y,z data. Also, the must be the correct size (in this case prepareSurfaceData function helps). In my case running manully the command Walter suggested: cftool( x, y, z ) helped
0 Comments
See Also
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!