is_finite (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: membership

Requires: MathScript RT Module

Syntax

c = is_finite(a)

Legacy Name: isfinite

Description

Determines whether elements of a matrix are finite.

Examples

Inputs

Name Description
a Specifies a scalar, vector, or matrix of any data type but plot objects and (Control Design and Simulation Module) state-space, transfer function, and zero-pole-gain models.

Outputs

Name Description
c Returns a matrix of Boolean values. An element in c is 1 if and only if the corresponding element of a is finite. Otherwise, the element is 0. c is a scalar, vector, or matrix of the same size as a.

Details

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 Yes

Examples

A = [1, 2, inf; inf, nan, 3]
C = is_finite(A)

Related Topics

is_inf
is_nan

文章是否对您有帮助?

没有帮助