Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

conv (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the filter implementation and the polynomials classes.

Syntax

c = conv(c1)

c = conv(c1, c2)

Description

Computes the convolution of two vectors or matrices.

Examples

Inputs

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.

Outputs

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.

Examples

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

Related Topics

conv2
deconv


Resources


 

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