Home > freetb4matlab > signal > filter2.m

filter2

PURPOSE ^

% Apply the 2-D FIR filter @var{b} to @var{x}. If the argument

SYNOPSIS ^

function Y = filter2 (B, X, shape)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{y} =} filter2 (@var{b}, @var{x})
% @deftypefnx {Function File} {@var{y} =} filter2 (@var{b}, @var{x}, @var{shape})
% Apply the 2-D FIR filter @var{b} to @var{x}.  If the argument
% @var{shape} is specified, return an array of the desired shape.
% Possible values are: 
%
% @table @asis
% @item 'full'
% pad @var{x} with zeros on all sides before filtering.
% @item 'same'
% unpadded @var{x} (default)
% @item 'valid'
% trim @var{x} after filtering so edge effects are no included.
% @end table
%
% Note this is just a variation on convolution, with the parameters
% reversed and @var{b} rotated 180 degrees.
% @seealso{conv2}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003