how to use curve fitting without using curve fitting toolbox?

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 日

0 投票

1 件のコメント

zein
zein 2021 年 3 月 3 日
how can i write the fitting function and specify interpolant and method linear?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

製品

リリース

R2020a

タグ

質問済み:

2021 年 3 月 3 日

コメント済み:

2021 年 3 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by