Info
此问题已关闭。 请重新打开它进行编辑或回答。
how to correct (( ??? Undefined function or method 'FindZeros' for input arguments of type 'function_handle'. ))
1 次查看(过去 30 天)
显示 更早的评论
??? Undefined function or method 'FindZeros' for input arguments of type 'function_handle'.
Rt = FindZeros(Ex4, 5, linspace(0,10*pi,100), []);
This is my codes>>
%Problem: 5.4
Ex4 = @(x) (sin(x)-x.*cos(x)) Rt = FindZeros(Ex4, 5, linspace(0,10*pi,100), [])
%Problem: 5.5
Ex5 = @(x,p) (2*cos(x)-(x/p-p./x).*sin(x)); p = [0.1 1]; for k = 1:2 Rt = FindZeros(Ex5, 5, linspace(0,10*pi,100), p(k))' end
1 个评论
Star Strider
2014-10-6
Please post the code for ‘FindZeros’. It’s not in the File Exchange and the only other reference I can find is in Solve Equations Numerically.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!