matlab give me error when i use fzero to calculate zero of function
1 view (last 30 days)
Show older comments
raffaele orlando
on 14 Mar 2020
Answered: madhan ravi
on 14 Mar 2020
fzero of function
fun = @sin; % function
x0 = 3; % initial point
x = fzero(fun,x0)
5 Comments
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.
Accepted Answer
madhan ravi
on 14 Mar 2020
Just go to the file location and rename the file as myFzero.m for example.
0 Comments
More Answers (0)
See Also
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!