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

is_inf (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: membership

Requires: MathScript RT Module

Syntax

c = is_inf(a)

Legacy Name: isinf

Description

Determines whether elements of a matrix are equal to +inf or -inf.

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 equal to +inf or -inf. Otherwise, the element is 0. c is a scalar, vector, or matrix of the same size as a.

Examples

C = is_inf(nan)
C = is_inf([+inf, -233, inf])

Related Topics

is_finite
is_nan


 

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