Compare Functions
Find the intersection points between two functions f1 and f2 defined for the discrete abscissa x. This results in a possibly greater number of x data (along with f1 and f2 data) in order to include the intersection points between both functions.
From this new data set (new x, new f1 and new f2), logical index vectors are returned to indicate values of x for which: f1 > f2, f1 < f2 and f1 == f2.
Cite As
Mathieu Boutin (2024). Compare Functions (https://www.mathworks.com/matlabcentral/fileexchange/36839-compare-functions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
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 |