![]() z = fzero(' fun',x,tol,trace)ĭisplays information at each iteration. ![]() Returns an answer accurate to within a relative error of tol. In this case, the search terminates when the search interval is expanded until an Inf, NaN, or complex value is found. If no such interval is found, NaN is returned. ![]() fzero looks for an interval containing a sign change for fun and containing x. Where x is a scalar value, uses x as a starting point. Calling fzero with an interval guarantees fzero will return a value near a point where fun changes sign. Where x is a vector of length 2, assumes x is an interval where the sign of f(x(1)) differs from the sign of f(x(2)). The value returned is near a point where fun changes sign, or NaN if the search fails. fun is a string containing the name of a real-valued function of a single real variable. Fzero (MATLAB Function Reference) MATLAB Function Reference
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |