Interpolation method for data that is wave-like or oscillatory

조회 수: 17 (최근 30일)
Krispy Scripts
Krispy Scripts 2016년 10월 21일
댓글: Star Strider 2016년 10월 24일
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.
Star Strider
Star Strider 2016년 10월 24일
As always, my pleasure.

댓글을 달려면 로그인하십시오.

추가 답변 (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