How can I load data to the Curve Fitting toolbox?

10 Ansichten (letzte 30 Tage)
Sergio Valdivia
Sergio Valdivia am 27 Nov. 2017
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 Kommentare
Valeria Gabrielli
Valeria Gabrielli am 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.
Walter Roberson
Walter Roberson am 14 Sep. 2020
I am not clear as to what it means to import data using {} ?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Walter Roberson
Walter Roberson am 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 )

Chrysi Karagiannaki
Chrysi Karagiannaki am 7 Okt. 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

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by