<< Filters Filtering and pulse shaping nrz >>

comm_tbx >> Filtering and pulse shaping > downsample

downsample

Downsample the input signal by an integer factor.

Calling Sequence

y = downsample(x,osf)

Parameters

x:

Input signal

osf:

Over-Sampling Factor

y:

Output, downsampled, signal

Description

Keep only one sample every osf input samples.

Example

y = downsample([1 2 3 4 5 6], 2);
// y should be [1 3 5]

See also

Authors


Report an issue
<< Filters Filtering and pulse shaping nrz >>