matlab give me error when i use fzero to calculate zero of function

1 vue (au cours des 30 derniers jours)
fzero of function
fun = @sin; % function
x0 = 3; % initial point
x = fzero(fun,x0)
  5 commentaires
Ameer Hamza
Ameer Hamza le 14 Mar 2020
As John expected, you have placed a script name fzero in MATLAB's path ?‍♂️. Change the name of script C:\Users\raffo\Documents\MATLAB\fzero.m to something else.
raffaele orlando
raffaele orlando le 14 Mar 2020
sorry but how can i change the name of script ?

Connectez-vous pour commenter.

Réponse acceptée

madhan ravi
madhan ravi le 14 Mar 2020
Just go to the file location and rename the file as myFzero.m for example.

Plus de réponses (0)

Catégories

En savoir plus sur Historical Contests dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by