Matlab Fundamentals course:Creating and Calling Functions(4/5) Modify a Function: Not enough input arguments. Error in zerofuncti​on>findcro​ssing (line 23) y = y - z;

33 vues (au cours des 30 derniers jours)
David
David le 20 Déc 2024 à 17:44
Commenté : Cris LaPierre le 20 Déc 2024 à 19:17
Hello, I passed Matlab Fundamentals to 97%, but there is still one task which I can´t finalize. I added everything required and checked it also in correct solution. But there is is error:
Not enough input arguments.
y = y - z;
I don´t know what to do now? Could you help me please?
Thnak you
  2 commentaires
John D'Errico
John D'Errico il y a 9 minutes
Modifié(e) : John D'Errico il y a 7 minutes
Hint: is y or z a function that you have defined? From the images that you show, that would seem to be the case, where y and z are function handles.

Connectez-vous pour commenter.

Réponses (1)

Cris LaPierre
Cris LaPierre il y a environ 2 heures
As far as I can tell, you have not followed the instructions. The error suggests you have done part 2 correctly, but the image shows you have not done parts 1, 3 and 4.
Follow all the instructions and then submit your solution.
  3 commentaires
Walter Roberson
Walter Roberson il y a environ une heure
"4. Modify the two calls to findcrossing to add y0 as an input"
You did not do that.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by