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

basic (MathScript Class) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Use members of the basic class to perform commonly used mathematical calculations and transformations. The basic class does not include trigonometric functions.

Function Description
abs Absolute value
angle Phase angles of complex numbers
cart2pol Cartesian to polar (cylindrical)
cart2sph Cartesian to spherical
ceil Rounds towards +inf
conj Complex conjugates
cplxpair Sorts complex numbers by conjugate pairs
cumprod Cumulative products
cumsum Cumulative sums
cumtrapz Cumulative trapezoidal integrals
eval Executes scripts in a string
evalc Executes scripts in a string and captures the output
exp Exponential function
factor Prime factors
factorial N!
feval Executes a function
fix Rounds towards 0
floor Rounds towards -inf
gcd Greatest common divisor
humps Curve with maxima at 0.3 and 0.9
imag Imaginary part
ipermute Reorders dimensions of a matrix
lcm Least common multiple
log Natural logarithm
log10 Base 10 logarithm
log2 Base 2 logarithm
max Largest element
min Smallest element
mod Modulo
nextpow2 Next power of 2
permute Reorders the dimensions of a matrix
planerot Givens rotation
pol2cart Polar (cylindrical) to Cartesian
pow2 Power of 2
prod Product
real Real part
reallog Natural logarithm of positive real numbers
realpow Element-wise powers
realsqrt Square roots of positive real numbers
rem Remainder
round Rounds to nearest number
sign Sign of matrix elements
sort Sorts vectors and matrices
sortrows Sorts rows of matrices
sph2cart Spherical to Cartesian
sqrt Square root function
sum Sum

Related Topics

trigonometric
advanced


Resources


 

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