Clear Filters
Clear Filters

How to interpolate a step function?

7 views (last 30 days)
Diemo Schwarz
Diemo Schwarz on 29 Mar 2018
If I have a function with steps that I want to sample regularly, interp1 complains about not strictly monotonic data. However, a step in the data is being interpreted as being defined up to the next time point, interpolation (at least table lookup) is well defined. How can one achieve this in matlab?

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!