How to get my original x & y data from saved sfit?
47 views (last 30 days)
Show older comments
I have done curve fitting a few months ago. Saved my session as sfit. I lost my original X and Y data. Can I get the original x and y data from the sfit? I tried to Print the curve and Brush and export the points but I couldn't. Any help?
0 Comments
Accepted Answer
Titus Edelhofer
on 8 Mar 2016
Hi,
the .sfit is basically a .mat file. So you can load it:
v = load('yourfile.sfit', '-mat');
Depending on the number of fits this gives the data that were used in the fit:
[x,y] = v.savedSession.AllFitdevsAndConfigs{1}.Fitdev.FittingData.getCurveValues
Titus
More Answers (1)
See Also
Categories
Find more on Fit Postprocessing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!