Up and Down Sampling
版本 1.0.0.0 (37.1 KB) 作者:
Shahid Ali Murtza
This function is for both up and down sampling of Discrete Time Signals of Type X[M*n].
% This function is defined for both up and down sampling of
% any signal x[n]:: [y m]= udnsample(x,n,M)
% ===========================================================
% |***For Down Sampling::If downsampling factor is 2 then M=2|
% |***For Up sampling::If upsampling factor is 2 then M=1/2 |
% ============================================================
% x is the input signal and n is axis for it.
% length(x) must be equal to length(n) and
% n must contain origin i.e. n=[0 1 2 3]
% n=[-1:5] both contains 0(origin of axis).
% Regards Shahid Ali Murtza.
引用格式
Shahid Ali Murtza (2026). Up and Down Sampling (https://ww2.mathworks.cn/matlabcentral/fileexchange/38159-up-and-down-sampling), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Signal Processing Toolbox 的更多信息
标签
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 1.0.0.0 |