How to interpolate a step function?

4 visualizzazioni (ultimi 30 giorni)
Diemo Schwarz
Diemo Schwarz il 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?

Risposte (0)

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by