downsample
Downsample the input signal by an integer factor.
Séquence d'appel
y = downsample(x,osf)
y = downsample(x,osf)
Paramètres
- x:
Input signal
- osf:
Over-Sampling Factor
- y:
Output, downsampled, signal
Input signal
Over-Sampling Factor
Output, downsampled, signal
Description
Keep only one sample every osf
input samples.
Exemple
y = downsample([1 2 3 4 5 6], 2); // y should be [1 3 5] |