필터 지우기
필터 지우기

Better interpolation of nonuniform data to uniform grid than with spline

조회 수: 3 (최근 30일)
T
T 2017년 9월 20일
댓글: Vilnis Liepins 2017년 10월 22일
I am resampling non-uniformly sampled data to a uniform grid with a spline interpolation. However, if the signal is of high frequency (no aliasing), the spline interpolation does not perform well. Any ideas how to achieve a better resampling? Thanks!
  댓글 수: 2
Vilnis Liepins
Vilnis Liepins 2017년 10월 22일
One more option is to use Extended DFT code available on fileexchange http://se.mathworks.com/matlabcentral/fileexchange/11020-extended-dft
You should run the program NEDFT.m for non-uniformly sampled data and get the DFT on uniform frequency set which corresponds to Matlab FFT set [-ceil((NFFT-1)/2):floor((NFFT-1)/2)]/NFFT where NFFT is the length of the DFT. As there is no aliasing you can select NFFT equal to the length of data segment, means, just one NEDFT iteration will be performed to calculate the DFT from non-uniform data.
To get resampled data apply the Matlab IFFT to the output of NEDFT.

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

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