Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Assign different f factor to data in Smoothing Spline fit

조회 수: 1 (최근 30일)
Zahra Sharifnezhadazizi
Zahra Sharifnezhadazizi 2019년 10월 2일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi all,
I have lots of points and for each of them I have two vectors "x" and "y", one being daily time and the other one being daily temperature. I am trying to use "smoothing spline" in my script, but I want to assign different "f factors" for each of the pixels based on their characteristics (or extract the best f factor which make my fit plots look closer to polynomial 4). I can use "curve fitting tool" for each pixel, but it is not possible for thousands of points. I have tried theses command:
TT3 = csaps(x,y);
TT3 = fitoptions('Method','SmoothingSpline');
TT3 = fit(x,y,'SmoothingSpline');
Any suggestion?
  댓글 수: 1
John D'Errico
John D'Errico 2019년 10월 2일
Just because you have chosen a way to solve your problem that is hugely time consuming, does not mean that it can be solved in some magic way that is not time consuming.
So you can either choose a more efficient way to fit your problem, or you can accept the time required, and get some coffee while you wait.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by