From 9:00 AM - 12:00 PM CDT on Saturday, June 6th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

plus (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 Class: matrixops

Requires: MathScript RT Module

Syntax

c = plus(a, b)

Description

Performs element-wise addition.

Details

Examples

Inputs

Name Description
a Specifies a scalar or matrix.
b Specifies a scalar or a matrix of the same size as a. If a is a matrix and b is a matrix, then b must be of the same size as a.

Outputs

Name Description
c Returns a+b. c is a scalar or matrix.

Details

If a is a scalar, LabVIEW sets a to a matrix of the same size as b whose elements all equal the value you specified for a. If b is a scalar, LabVIEW sets b to a matrix of the same size as a whose elements all equal the value you specified for b.

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

Examples

A = [1+3i, 5.6; -2.3, 8-i]
B = 3
C = plus(A, B)

Related Topics

minus

WAS THIS ARTICLE HELPFUL?

Not Helpful