how to correct (( ??? Undefined function or method 'FindZeros' for input arguments of type 'function_handle'. ))

??? 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

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개)

이 질문은 마감되었습니다.

질문:

A
A
2014년 10월 6일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by