Info

This question is closed. Reopen it to edit or answer.

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

2 views (last 30 days)
??? 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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!