[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/datafun]

filter2

(/tools/hpmatlab/toolbox/matlab/datafun/filter2.m)


Function Synopsis

y = filter2(b,x,shape)

Help text

FILTER2 Two-dimensional filtering.

	Y = FILTER2(B,X) filters the data in X with the 2-D FIR
	filter in the matrix B.  The result, Y, is computed 
	using 2-D convolution and is the same size as X.

	Y = FILTER2(B,X,'shape') returns Y computed via 2-D
	convolution with size specified by 'shape':
	  'same'  - (default) returns the central part of the 
	            convolution that is the same size as X.
	  'valid' - returns only those parts of the convolution
	            that are computed without the zero-padded
	            edges, size(Y) < size(X).
	  'full'  - returns the full 2-D convolution, 
	            size(Y) > size(X).

	See also CONV2.

Cross-Reference Information

This function calls

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON