Home > freetb4matlab > signal > downsample.m

downsample

PURPOSE ^

% Downsample the signal, selecting every nth element. If @var{x}

SYNOPSIS ^

function y = downsample(x,n,phase)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} @var{y} = downsample(@var{x},@var{n})
% Downsample the signal, selecting every nth element.  If @var{x}
% is a matrix, downsample every column.
%
% For most signals you will want to use decimate instead since
% it prefilters the high frequency components of the signal and
% avoids aliasing effects.
%
% @deftypefnx {Function File} @var{y} = downsample(@var{x},@var{n},@var{offset})
% Select every nth element starting at sample @var{offset}.
% @end deftypefn
% @seealso{decimate, interp, resample, upfirdn, upsample}

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003