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

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

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the membership class.

Syntax

c = isreal(a)

Description

Determines whether a matrix is real. A number is real if and only if in a=Re(a)+Im(a)*i, the second term Im(a) is 0. A matrix is real if and only if all elements in that matrix are real.

Examples

Inputs

Name Description
a Specifies a matrix.

Outputs

Name Description
c Returns 1 if a is a real matrix. Otherwise, this function returns 0. c is a Boolean.

Examples

C = isreal([5+0i, 7, 6, 789-8.3i])
C = isreal('der')

Related Topics

complex
real
imag


Resources


 

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