Effacer les filtres
Effacer les filtres

Using Data fit app

3 vues (au cours des 30 derniers jours)
Darpan Verma
Darpan Verma le 8 Mar 2019
Commenté : Darpan Verma le 12 Mar 2019
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 commentaires
Patel Mounika
Patel Mounika le 12 Mar 2019
Can I know whether x and y is loaded in workspace?
Darpan Verma
Darpan Verma le 12 Mar 2019
Hi Mounika, Thanks I think thats where error came from. it got resolved. Thank you :)

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by