Skip to content

多采样率信号处理

抽取、插值、下采样、上采样、抗混叠滤波器


将均匀或非均匀数据重采样为新固定速率。执行抽取和线性插值或更高阶插值,而不引入混叠。

APP

信号分析器可视化和比较多个信号和频谱

函数

decimateDecimation — decrease sample rate by integer factor
downsampleDecrease sample rate by integer factor
fillgapsFill gaps using autoregressive modeling
interpInterpolation — increase sample rate by integer factor
interp1一维数据插值(表查找)
intfiltInterpolation FIR filter design
pchip分段三次 Hermite 插值多项式 (PCHIP)
resampleResample uniform or nonuniform data to new fixed rate
spline三次样条数据插值
upfirdnUpsample, apply FIR filter, and downsample
upsampleIncrease sample rate by integer factor

主题

下采样 - 混叠

  • 混叠是信号的频谱重叠时发生的失真。下采样会引入混叠。

在下采样前进行滤波

  • 在下采样前进行滤波可减轻混叠造成的失真。

Upsampling — Imaging Artifacts

  • Upsample a signal and see how upsampling can result in images.

Filtering After Upsampling — Interpolation

  • Upsample a signal and apply a lowpass interpolation filter to remove imaging artifacts.

Simulate a Sample-and-Hold System

  • Simulate the output of a sample-and-hold system by upsampling and filtering a signal.

重采样

  • 抽取、插值或更改信号的采样率,可选择是否进行中间滤波。

更改信号采样率

  • 更改正弦波和录制的语音样本的采样率。

Multirate Filter Bank Implementation

  • Implement filter banks using the upfirdn function.