fzero_all
Attempts to find zeros of f in a given by sampling f at N points inside the interval. The function then looks for intervals where f changes sign and applies fzero on them. If max_sols is specified, this function always returns vectors of length |max_sols| so the calling function may easily store the result in a matrix. WARNING: This function will not find roots of even multiplicity (x-x0)^2 and may miss other roots if they are spaced closer than the sampling interval.
Cite As
Thomas Galvin (2024). fzero_all (https://www.mathworks.com/matlabcentral/fileexchange/49161-fzero_all), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |