Using Data fit app
古いコメントを表示
I have created a createfit.m by having my curve fit using data fitting app in MATLAB. The MATLAB code file is created as a function. Now if I hit run I get the following error: "Not enough input arguments.
Error in createFit (line 18)
[xData, yData] = prepareCurveData( x, y );"
How can I use my curve fit code which I have generated? I have attached a picture of my code.

2 件のコメント
Patel Mounika
2019 年 3 月 12 日
Can I know whether x and y is loaded in workspace?
Darpan Verma
2019 年 3 月 12 日
回答 (0 件)
カテゴリ
ヘルプ センター および 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!