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

conv2 (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 class.

Syntax

c = conv2(a, b)

c = conv2(a, b, shape)

Description

Applies a two-dimensional convolution.

Examples

Inputs

Name Description
a Specifies a real or complex matrix.
b Specifies a real or complex matrix.
shape Specifies the size of the output. shape is a string that accepts the following values.

'full' (default) Returns the full two-dimensional convolution. c is larger than a.
'same' Returns the central part of the convolution. c is the same size as a.
'valid' Returns only the parts of the convolution that LabVIEW computes without zero-padded edges. c is smaller than a.

Outputs

Name Description
c Returns the convolution of a and b.

Examples

A = rand(2);
B = rand(4);
C = conv2(A, B, 'full')

Related Topics

conv
deconv


Resources


 

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