fzero_all

Extends functionality of fzero by dividing interval into sub-intervals and applying fzero on them.
186 Downloads
Updated 26 Jan 2015

View License

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
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Distribution Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0