필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
ekagra gupta
ekagra gupta 2022년 6월 19일
편집: ekagra gupta 2022년 6월 19일
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
John D'Errico
John D'Errico 2022년 6월 19일
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 2022년 6월 19일
I apologise for the confusion, I have corrected the information.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Smoothing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by