Sinc Resample

版本 1.0.0.0 (2.9 KB) 作者: Malcolm Lidierth
SincResample resamples signals to arbitrary lengths/frequencies and/or timeshifts them
5.3K 次下载
更新时间 2008/2/22

无许可证

If the input is a bandlimited signal containing components at DC - 0.5Fs where Fs is the sample rate, SINCRESAMPLE will return the signal that would have been seen with a higher sampling rate (and the same filter settings). The algorithm depends on the fact that the bandlimited signal is completely defined when sampling at Fs.

SINCRESAMPLE returns the data convolved with a set of time-shifted windowed sinc functions, one for each of the samples [1..size(x,1)] in the input signal. End-effects are reduced by adding a reflected and mirrored copy of the data at the beginning and end of each column before resampling.
Note that points at the end of Y (and/or beginning if SHIFT is negative) will be extrapolated beyond the boundaries of X.

SINCRESAMPLE is a generalization of the method discussed in:
T.Blanche & N.V.Swindale (2006)
Nyquist interpolation improves neuron yield in multiunit recordings
Journal of Neuroscience Methods 155, 81-91
http://dx.doi.org/doi:10.1016/j.jneumeth.2005.12.031

引用格式

Malcolm Lidierth (2024). Sinc Resample (https://www.mathworks.com/matlabcentral/fileexchange/12268-sinc-resample), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
社区

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Improved end-effect handling. Lanczos mode added.