Download Help (Windows Only) 
Owning Class: filter implementation
Requires: MathScript RT Module
c = conv2d(a, b)
c = conv2d(a, b, A)
c = conv2d(a, b, shape)
c = conv2d(a, b, A, shape)
Legacy Name: conv2
Applies a twodimensional convolution.
Name  Description  

a  Specifies a real or complex matrix.  
b  Specifies a real or complex matrix.  
A  Specifies a real or complex matrix. a and b must be vectors if A is given. If a is a column vector and b is a row vector, conv2d(a, b, A) is the same as conv2d(a * b, A).  
shape  Specifies the size of the output. shape is a string that accepts the following values.

Name  Description 

c  Returns the convolution of a and b. 
The following table lists the support characteristics of this function.
Supported in the LabVIEW RunTime Engine  Yes 
Supported on RT targets  Yes 
Suitable for bounded execution times on RT  Not characterized 
A = rand(2);
B = rand(4);
C = conv2d(A, B, 'full')