Update Curve Fitter data
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using MatLab R2023a which comes with an "improved" layout for the Curve Fitting Toolbox
Let me describe my workflow, and my problem. I have a script that generates data into variables x and y. In a previous version of the Curve Fitting tool, I could select the dropdown and re-select x and y in order to get my new data points.
Now, with the updated version, this takes several more steps. I have to first open the select data dialog box, which is not super quick to load, then I have to select some variable that isn't x or y, because now if I select the same variable that I had before, it doesn't update the data set, and nothing happens. Then I have to reselect x and y in the select data fields, and finally close the dialog box.
Alternatively, I could lauch a new session using curveFitter(x,y), however, then I have to re-configure all of my fit parameters.
Does anyone have a suggestion? I have to do a lot of fits, and this is seriously interrupting my workflow. I'm considering downloading an old version of MatLab and using that instead because of this issue.
6 Kommentare
dpb
am 25 Apr. 2023
Agree -- enhancement requests/GUI foopahs and the like are always worth submitting...I even submit suggestions for changes to help files when find overlooked details that are significant or the like.
Antworten (1)
Steven Lord
am 2 Mai 2023
If you're using the Curve Fitter app you could fit your first set of data interactively then generate code from the fit and use that code for subsequent programmatic fits. See the fourth example on that documentation page.
Some of the data preprocessing Live Editor Tasks or the Data Cleaner app could help you prepare your data for use with Curve Fitter. See this documentation page for a list of available tasks; if you're excluding outliers from your data I'd take a look at the Clean Outlier Data task. Like most if not all Live Editor Tasks the Clean Outlier Data task generates code that you could incorporate into the code generated from Curve Fitter.
Siehe auch
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!