matlab give me error when i use fzero to calculate zero of function
1 次查看(过去 30 天)
显示 更早的评论
fzero of function
fun = @sin; % function
x0 = 3; % initial point
x = fzero(fun,x0)
5 个评论
Ameer Hamza
2020-3-14
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.
采纳的回答
madhan ravi
2020-3-14
Just go to the file location and rename the file as myFzero.m for example.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!