필터 지우기
필터 지우기

smoothing spline and save

조회 수: 1 (최근 30일)
aditi
aditi 2014년 11월 20일
편집: Geoff Hayes 2014년 11월 20일
I have a data x and y... I fitted smoothing spline. Now i want to save the fit parameters so that i can plot it in some other softwares with other data files.
I followed following code... which is doing exactly what i want...
a=load('v_band.dat');
x=a(:,16);
y=a(:,4);
options = fitoptions('Method','Smooth','SmoothingParam',0.842)
[f,gof,out] = fit(x,y,'smooth',options)
plot(f, x, y)
Or is there any other method by which i can do so...???

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by