필터 지우기
필터 지우기

Help interpolating time series

조회 수: 1 (최근 30일)
eduardoq
eduardoq 2013년 2월 5일
Hi,
I have a time series that measures waves every 3hrs and would like to interpolate it so it measures every hour. I've been trying to do this using interp1 but have been unsuccesful. Please help.
Cheers

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 5일
편집: Azzi Abdelmalek 2013년 2월 5일
x=[0 1 2 4]
y=sin(x)
xi=[0 0.5 1 1.5 2 2.5 3 3.5 4]
method='spline'
yi=interp1(x,y,xi,method)

카테고리

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