MATLAB: I plotted time series electricity load data in matlab and then used matlab “basic fitting” tools for best fitting. Now i require the values of the best fitted curve, is there a way to extract these values using a code or any other way?

basic fittingcurve fittingdata acquisitionMATLAB

I plotted time series electricity load data in matlab and then used matlab "basic fitting" tools for best fitting of the plotted data (as it represented many electricity load consumers in one plot). Now i require the values of the best fitted curve, is there a way to extract these values using a code or any other way??

Best Answer

Well, the ease of the tool comes at something of a price; it doesn't have the ability to automatically return everything you've done programmatically. What you can do is open the next panel in the UI (the big right arrow at the bottom and it then will let you save each fit in turn to variable struct in the workplace.
Or, you could step back and use the fitting tools in a command window and compute the various fits directly again using the exploratory work you've done to know what it is that need to compute/save.