[Master Index]
[Index for /tools/hpmatlab/toolbox/matlab/datafun]
conv2
(/tools/hpmatlab/toolbox/matlab/datafun/conv2.m)
Function Synopsis
c = conv2(arg1,arg2,shape)
Help text
CONV2 Two dimensional convolution.
C = CONV2(A, B) performs the 2-D convolution of matrices
A and B. If [ma,na] = size(A) and [mb,nb] = size(B), then
size(C) = [ma+mb-1,na+nb-1].
C = CONV2(A,B,'shape') returns a subsection of the 2-D
convolution with size specified by 'shape':
'full' - (default) returns the full 2-D convolution,
'same' - returns the central part of the convolution
that is the same size as A.
'valid' - returns only those parts of the convolution
that are computed without the zero-padded
edges, size(C) = [ma-mb+1,na-nb+1] when
size(A) > size(B).
CONV2 is fastest when size(A) > size(B).
See also XCORR2, CONV, XCORR, DECONV, FILTER2.
Cross-Reference Information
This function calls
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- elseif /tools/hpmatlab/toolbox/matlab/lang/elseif.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- find /tools/hpmatlab/toolbox/matlab/ops/find.m
- floor /tools/hpmatlab/toolbox/matlab/elfun/floor.m
- for /tools/hpmatlab/toolbox/matlab/lang/for.m
- i /tools/hpmatlab/toolbox/matlab/elmat/i.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- isempty /tools/hpmatlab/toolbox/matlab/ops/isempty.m
- j /tools/hpmatlab/toolbox/matlab/elmat/j.m
- nargchk /tools/hpmatlab/toolbox/matlab/lang/nargchk.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- prod /tools/hpmatlab/toolbox/matlab/datafun/prod.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
- zeros /tools/hpmatlab/toolbox/matlab/elmat/zeros.m
This function is called by
- filter2 /tools/hpmatlab/toolbox/matlab/datafun/filter2.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON