Interpolation method for data that is wave-like or oscillatory

14 次查看(过去 30 天)
I am attempting to Interp1 for interpolation of data that is wave-like or oscillatory in nature. I am planning on using the 'linear' method, but was wondering if anyone had any suggestions that might be better method in this function for data that is wave-like or oscillatory?

采纳的回答

Star Strider
Star Strider 2016-10-21
It depends on how ‘wave-like’ it is. A 'linear' interpolation will work in most instances if the sampling interval is small enough. Otherwise, the 'spline' or 'pchip' methods would be appropriate. (Consider adding the 'extrap' argument as well if extrapolation could be an issue. It prevents NaN values from appearing in the extrapolated points.)
  9 个评论
Krispy Scripts
Krispy Scripts 2016-10-24
Ok, great. Thank you again for answering all these other questions I have.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by