How can I write for fit using cftool?

3 ビュー (過去 30 日間)
RS
RS 2013 年 9 月 24 日
I have X and Y column values using cfool in MATLAB 2013Ra want to fit as sum of sine using number of terms as 8 and using center and scale option as a tick one, in fit option robust as LAR and finally want to see residual in output? How can I write code for it?

回答 (1 件)

Shashank Prasanna
Shashank Prasanna 2013 年 9 月 24 日
Are you able to do this on CFTOOL? if you are then you can go to File > Generate Code
This will automatically generate the MATLAB code for you.
If you want to do this yourself then you can follow the steps in the doc here:

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by