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??

2 visualizaciones (últimos 30 días)
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??
  2 comentarios
KSSV
KSSV el 21 de Sept. de 2016
Editada: KSSV el 21 de Sept. de 2016
What fitting you have used? Very much you can get extract the values. You have to mention your code so that we can see what you have used.
zafar khan
zafar khan el 21 de Sept. de 2016
Unfortunately, I do not have any code. What i did is simply opened the figure and used the "Tools" tab to open "basic fitting" tool. From this tool I used different fits including different polynomials and interpolations (obviously i had many figures so each one had a different fit). Now i need the fitted curves values but do not know how to extract them as there are large number of fits that I require values of and manually taking the values using data cursor will take me months to complete it.

Iniciar sesión para comentar.

Respuesta aceptada

dpb
dpb el 21 de Sept. de 2016
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.
  7 comentarios

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by