How to interpolate a step function?

7 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by