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

1 view (last 30 days)
fzero of function
fun = @sin; % function
x0 = 3; % initial point
x = fzero(fun,x0)
  5 Comments
Ameer Hamza
Ameer Hamza on 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.

Sign in to comment.

Accepted Answer

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

More Answers (0)

Categories

Find more on Historical Contests in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!