Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

conv (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Classes: filter implementation and polynomials

Requires: MathScript RT Module


c = conv(c1)

c = conv(c1, c2)


Computes the convolution of two vectors or matrices.



Name Description
c1 Specifies a real or complex vector or matrix.
c2 Specifies a real or complex vector or matrix. If you do not specify c2, LabVIEW computes the autoconvolution of c1.


Name Description
c Returns the convolution of c1 and c2. If c1 and c2 are vectors, c is the vector convolution of the two vectors and has the same orientation as c1. If one of c1 or c2 is a matrix and the other is a vector, LabVIEW treats the vector as a column vector and convolves the vector with each column of the matrix argument. If both c1 and c2 are matrices, LabVIEW convolves each column of c1 with c2 such that c is a matrix whose column size equals the product of the column sizes of c1 and c2.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


C1 = [1, 2, 3];
C2 = [3, 4];
C = conv(C1, C2)

Related Topics



Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit