x: input data, specified as a numeric vector or matrix. In case of a vector it represents a single signal; in case of a matrix each column is a signal.
n: downsampling factor, specified as a positive integer.
phase: offset, specified as a positive integer from 0 to n - 1. Default: 0.
Returns
Downsampled signal, returned as a vector or matrix.
Details
For most signals you will want to use decimate instead since it prefilters the high frequency components of the signal and avoids aliasing effects.