Using Data fit app

2 次查看(过去 30 天)
Darpan Verma
Darpan Verma 2019-3-8
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.
Screen Shot 2019-03-07 at 10.12.51 PM.png
  2 个评论
Patel Mounika
Patel Mounika 2019-3-12
Can I know whether x and y is loaded in workspace?
Darpan Verma
Darpan Verma 2019-3-12
Hi Mounika, Thanks I think thats where error came from. it got resolved. Thank you :)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by