![]() 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.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |