Code using Curve Fitting Toolbox with Customized Function
조회 수: 13 (최근 30일)
이전 댓글 표시
Is it possible to write an automated code using the Curve Fitting Toolbox to fit data to a customized function? Example
clc
format short e
x = xdata
y = ydata;
f = fit(x,y,'Desired_Function')
plot(f,x,y)
Where desired function is something outside the usual default functions of Matlab. I usually need to make a fitting inside a bigger program and the fitting functions go beyond what Matlab offers in its library.
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!