Get roots of a data set

Given a scalar function that is defined on a grid, compute the roots of the curve.

You are now following this Submission

Given a scalar function that is defined on a grid, compute the time-windows where the data is positive. The root calculation is performed using linear interpolation between the data.

Cite As

Matthew Kelly (2026). Get roots of a data set (https://www.mathworks.com/matlabcentral/fileexchange/61300-get-roots-of-a-data-set), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interpolation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0