how to use curve fitting without using curve fitting toolbox?

조회 수: 45 (최근 30일)
zein
zein 2021년 3월 3일
댓글: zein 2021년 3월 3일
I want to use curve fitting tool in the matlab script without opening the curve fitting toolbox.
I have a data (x,u) and i want to use fiiting in the matlab m.file. I used interplant with linear method as indicated in the following image.
how can i write the code in the M file to do the same done using cftool?
  댓글 수: 1
Matt J
Matt J 2021년 3월 3일
편집: Matt J 2021년 3월 3일
I want to use curve fitting tool in the matlab script without opening the curve fitting toolbox.
Note that there is a difference between opening cftool and "opening the curve fitting toolbox". cftool is just a particular app within the toolbox.

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

답변 (1개)

KSSV
KSSV 2021년 3월 3일
  댓글 수: 1
zein
zein 2021년 3월 3일
how can i write the fitting function and specify interpolant and method linear?

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

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by