Borrar filtros
Borrar filtros

What method to use to curve fit these data points mentioned below?

1 visualización (últimos 30 días)
ekagra gupta
ekagra gupta el 19 de Jun. de 2022
Editada: ekagra gupta el 19 de Jun. de 2022
Hello,
I was working on some data and I want to fir my data similar to that of the "yellow line". The smoothing spline with "0.99" roughness is a little off track. Any insight on this one will be very helpful.
The figure is given as "fig" and data as "data1".
(in the data, the y-axis seems to have NaN values but while plotting thats not the case.)
  2 comentarios
John D'Errico
John D'Errico el 19 de Jun. de 2022
What are you hoping to appoximate? The blue data, or the black points? If you want to appoximate the black data, then why have you even plotted the blue curve on top? Perhaps the blue curve is what the smoothing spline produces?
I might guess the black data is what you want to fit from the shape drawn in yellow. But since you seem to have a large amount of data at the peak, I fail to see why it is you expect to see that yellow curve at all.
And of course, we don't actually have the data, but only a picture of it. So it is difficult to explain much about what is happening, or should happen. If you do decide to attach some data, please do so attached to a comment, or by editting your question.
ekagra gupta
ekagra gupta el 19 de Jun. de 2022
I apologise for the confusion, I have corrected the information.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Smoothing 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