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

Mathematics VIs

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info
Mathematics VIs



Additional Information about the Mathematics VIs

Differences between the Parser in the Mathematics VIs and the Formula Node
Mathematics Related Documentation
Mathematics VIs Examples
Mathematics VIs and Functions for the LabVIEW Base Package
Probability Distributions

Differential Equations VIs

ODE Cash Karp 5th Order
ODE Euler Method
ODE Linear nth Order Numeric
ODE Linear nth Order Symbolic
ODE Linear System Numeric
ODE Linear System Symbolic
ODE Runge Kutta 4th Order
ODE Solver

Elementary & Special Functions and VIs

Bessel Functions VIs

Airy Functions
Bessel Function Jv
Bessel Function Yv
Kelvin Functions be
Kelvin Functions ke
Modified Bessel Function Kn
Modified Bessel Function Iv
Spherical Bessel Function jn
Spherical Bessel Function yn
Struve Function

Discrete Math VIs

(Riemann) Zeta Function
Binomial Coefficient
Continued Fraction
Factorial
Gcd
Lcm
Permute

Elliptic & Parabolic Functions VIs

Parabolic Cylinder Function
Jacobian Elliptic Functions

Elliptic Integrals VIs

Elliptic Integral of the 1st kind
Elliptic Integral of the 2nd kind

Error Functions VIs

Dawson's Integral
Error Function
Error Function Complement
Fresnel Integrals

Exponential Functions

Exponential
Exponential (Arg) -1
Logarithm Base 2
Logarithm Base 10
Logarithm Base X
Natural Logarithm
Natural Logarithm (Arg +1)
Power Of 2
Power Of 10
Power Of X
Y-th Root of X

Exponential Integrals VIs

Cosine Integral
Dilogarithm
Exponential Integral
Hyperbolic Cosine Integral
Hyperbolic Sine Integral
Sine Integral

Gamma Functions VIs

(Incomplete) Beta Function
(Incomplete) Gamma Function
Complementary Incomplete Gamma Function
Factorial
Logarithm of Complete Gamma Function
Logarithm of Factorial
Psi (Digamma) Function
Stirling's Formula

Gating Functions VIs

Spike Function
Square Function
Step Function

Hyperbolic Functions

Hyperbolic Cosecant
Hyperbolic Cosine
Hyperbolic Cotangent
Hyperbolic Secant
Hyperbolic Sine
Hyperbolic Tangent
Inverse Hyperbolic Cosecant
Inverse Hyperbolic Cosine
Inverse Hyperbolic Cotangent
Inverse Hyperbolic Secant
Inverse Hyperbolic Sine
Inverse Hyperbolic Tangent

Hypergeometric Functions VIs

Gauss Function
Kummer Function
Tricomi Function

Trigonometric Functions

Cosecant
Cosine
Cotangent
Inverse Cosecant
Inverse Cosine
Inverse Cotangent
Inverse Secant
Inverse Sine
Inverse Tangent
Inverse Tangent (2 Input)
Secant
Sinc
Sine
Sine & Cosine
Tangent

Fitting VIs

Constrained Nonlinear Curve Fit
Cubic Spline Fit
Curve Fitting
Exponential Fit
Fitting on a Sphere
Gaussian Peak Fit
General LS Linear Fit

Mathematics Example 1: Predicting Cost
Mathematics Example 2: Linear Combinations

General Polynomial Fit
Linear Fit
Logarithm Fit
Nonlinear Curve Fit

Using the Nonlinear Curve Fit VI

Power Fit
Advanced Curve Fitting VIs

Exponential Fit Coefficients
Exponential Fit Intervals
Gaussian Peak Fit Coefficients
Gaussian Peak Fit Intervals
Goodness of Fit
Linear Fit Coefficients
Linear Fit Intervals
Logarithm Fit Coefficients
Logarithm Fit Intervals
Nonlinear curve fit intervals
Power Fit Coefficients
Power Fit Intervals
Remove Outliers

Geometry VIs

2D Cartesian Coordinate Rotation
2D Cartesian Coordinate Shift
3D Cartesian Coordinate Rotation (Direction)
3D Cartesian Coordinate Rotation (Euler)
3D Cartesian Coordinate Shift
3D Coordinate Conversion
Direction Cosines To Euler Angles
Euler Angles To Direction Cosines

Integ & Diff VIs

Derivative x(t)
Integral x(t)
Numeric Integration
Quadrature
Time Domain Math
Uneven Numeric Integration

Interp & Extrap VIs

Create Interpolating Polynomial
Create Mesh Grid (2D)
Evaluate Interpolating Polynomial
Hermite Interpolation 1D
Interpolate 1D
Interpolate 1D Fourier
Interpolate 2D
Polynomial Interpolation
Rational Interpolation
Search Ordered Table
Spline Interpolant
Spline Interpolation
Spline Interpolation 1D

LabVIEW MathScript Functions

advanced

airy
besschk
bessel
besselh
besseli
besselj
besselk
bessely
beta
betainc
betaln
ellipj
ellipke
erf
erfc
erfcinv
erfcx
erfinv
expint
gamma
gammainc
gammaln
legendre
psi

approximation

fit
interp1
interp2
interpft
rat
spline

audio

beep
sound
soundsc
wavplay
wavread
wavrecord
wavwrite

basic

abs
angle
cart2pol
cart2sph
ceil
conj
cplxpair
cumprod
cumsum
cumtrapz
exp
factor
factorial
feval
fix
floor
gcd
humps
imag
ipermute
lcm
log
log10
log2
max
min
mod
nextpow2
permute
planerot
pol2cart
pow2
prod
real
reallog
realpow
realsqrt
rem
round
sign
sort
sortrows
sph2cart
sqrt
sum

bitwise

bitand
bitcmp
bitget
bitor
bitset
bitshift
bitxor

boolean

all
and
any
logical
not
or
xor

commands

clc
clear
diary
edit
home
pause
quit
waitforbuttonpress

comparison

eq
ge
gt
isequal
isequalwithequalnans
le
lt
ne

constants

bitmax
eps
inf
namelengthmax
nan
pi
realmax
realmin

daq

aich
aiwf
aoch
aowf
dioread
diowrite

dsp

filter design

angle
besselap
besself
buttap
butter
buttord
cheb1ap
cheb1ord
cheb2ap
cheb2ord
cheby1
cheby2
convmtx
ellip
ellipap
ellipord
fir1
fir2
firgauss
firls
firpm
firpmord
firrcos
freqs
freqspace
freqz
grpdelay
impz
intfilt
kaiserord
lp2bp
lp2bs
lp2hp
lp2lp
maxflat
phasedelay
phasez
remez
remezord
sgolay
stepz
unwrap
zerophase
zplane

filter implementation

bilinear
conv
conv2
deconv
fftfilt
filter
filter2
filtfilt
filtic
impinvar
latcfilt
medfilt1
sgolayfilt
sosfilt
udecode
uencode

linear systems

eqtflength
filternorm
latc2tf
polyscale
polystab
residuez
sos2ss
sos2tf
sos2zp
ss2sos
ss2tf
ss2zp
tf2latc
tf2sos
tf2ss
tf2zp
tf2zpk
zp2sos
zp2ss
zp2tf

modeling and prediction

ac2poly
ac2rc
arburg
arcov
armcov
aryule
invfreqs
invfreqz
is2rc
lar2rc
levinson
lpc
lsf2poly
poly2ac
poly2lsf
poly2rc
prony
rc2ac
rc2is
rc2lar
rc2poly
rlevinson
schurrc
stmcb

resampling

decimate
downsample
interp
interp1
resample
spline
upfirdn
upsample

spectral analysis

cceps
cohere
corrcoef
corrmtx
cov
csd
icceps
psd
rceps
seqperiod
tfe
xcorr
xcorr2
xcov

transforms

bitrevorder
czt
dct
dftmtx
digitrevorder
dst
fft
fft2
fftshift
goertzel
hilbert
iczt
idct
idst
ifft
ifft2
ifftshift

waveform generation

chirp
diric
gauspuls
gensig
gmonopuls
linspace
logspace
pulstran
rectpuls
sawtooth
sinc
square
tripuls
vco

windows

barthannwin
bartlett
blackman
blackmanharris
bohmanwin
chebwin
flattopwin
gausswin
hamming
hann
hanning
kaiser
nuttallwin
parzenwin
rectwin
triang
tukeywin

geometry

contourc
convhull
cylinder
delaunay
ellipsoid
griddata
inpolygon
meshgrid
polyarea
rectint
sphere
treelayout
tsearch
voronoi

integration

dblquad
polyint
quad8
quadl
trapz
triplequad

libraries

calllib
libfunctionsview
libisloaded
loadlibrary
unloadlibrary

linalgebra

balance
blkdiag
cat
chol
cholupdate
circshift
compan
cond
condeig
condest
ctranspose
det
diag
eig
eigs
expm
expm1
expm2
expm3
find
flipdim
fliplr
flipud
funm
gsvd
hess
horzcat
linsolve
logm
lu
mpower
ndims
nnz
nonzeros
norm
normest
null
numel
orth
pinv
polyvalm
qr
qz
rank
rcond
reshape
rot90
rref
schur
size
sqrtm
squeeze
subspace
svd
trace
transpose
tril
triu
vertcat

matrix

eye
false
hadamard
hankel
hilb
invhilb
magic
ones
pascal
peaks
perms
primes
repmat
rosser
toeplitz
true
vander
wilkinson
zeros

matrixops

inv
ldivide
minus
mldivide
mrdivide
mtimes
plus
power
rdivide
times
uminus
uplus

membership

class
exist
isa
ischar
isdir
isempty
isfinite
isglobal
isieee
isinf
iskeyword
isletter
islogical
ismember
isnan
isnumeric
isprime
isreal
isscalar
issorted
isspace
isstr
isvarname

ode

ode113
ode15s
ode23
ode23s
ode23tb
ode45

optimization

fminbnd
fmincon
fminsearch
fminunc
linprog
quadprog

plots

MathScript Plot Attributes

MathScript Line Attributes
MathScript Plot Area Attributes
MathScript Plot Window Attributes
MathScript Text Attributes

alltitle
allxlabel
allylabel
area
axes
axis
bar
bar3
bar3h
barh
clf
clg
close
colormap
contour
contour3
contourf
datetick
deferdraw
errorbar
ezcontour
ezcontourf
ezmesh
ezmeshc
ezplot
ezplot3
ezpolar
ezsurf
ezsurfc
feather
figure
fill
fplot
gca
gcf
get
ginput
gplot
grid
gtext
hold
image
legend
line
loglog
mesh
meshc
pareto
pie
plot
plot3
plotmatrix
plotyy
polar
quiver
rgbplot
scatter
scatter3
semilogx
semilogy
set
shg
stairs
stem
stem3
strips
subplot
surf
surfc
surfnorm
text
title
treeplot
view
waterfall
xlabel
ylabel
zlabel
zoom

polynomials

conv
deconv
mkpp
pchip
poly
polyder
polyeig
polyfit
polyint
polyval
residue
roots

programming

break
case
continue
end
else
elseif
for
if
return
switch
while

sets

intersect
setdiff
setxor
union
unique

statistics

corrcoef
cov
detrend
halton
hist
histc
mean
median
nchoosek
rand
randn
random

Statistical Distributions for the Random Function

randperm
richtmeyer
std
var
xcorr

string

base2dec
bin2dec
blanks
char
deblank
dec2base
dec2bin
dec2hex
eval
evalc
findstr
hex2dec
hex2num
int2str
lower
mat2str
num2str
regexp
regexpi
regexprep
regexptranslate
setstr
sprintf
sscanf
str2double
str2mat
str2num
str2rng
strcat
strcmp
strcmpi
strfind
strjust
strmatch
strncmp
strncmpi
strread
strrep
strtok
strtrim
strvcat
upper
vectorize

support

addpath
cd
complex
csvread
csvwrite
deal
delete
dir
disp
display
dlmread
dlmwrite
dos
double
end
error
exit
fclose
feof
fgetl
fgets
fileparts
fopen
format
fprintf
fread
frewind
fscanf
fseek
fullfile
fwrite
genpath
getfileproperty
global
help
imread
imwrite
ind2sub
input
int16
int32
int64
int8
labviewroot
lasterror
length
load
lookfor
ls
mfilename
nargchk
nargin
nargout
nargoutchk
path
path2rc
pathdef
pathsep
persistent
pwd
readbmp
rmpath
run
save
setfileproperty
single
sub2ind
system
tempdir
tempname
textread
type
uiload
uint16
uint32
uint64
uint8
userpath
ver
what
which
who
whos

time

calendar
clock
date
datenum
datestr
datevec
eomday
now
weekday

timing

cputime
etime
tic
toc

trigonometric

acos
acosh
acot
acoth
acsc
acsch
asec
asech
asin
asinh
atan
atan2
atanh
cos
cosh
cot
coth
csc
csch
sec
sech
sin
sinc
sinh
tan
tanh

vector

cross
curl
del2
diff
divergence
dot
gradient
kron

zerofinder

fsolve
fzero

Linear Algebra VIs

A x B
Back Transform Eigenvectors
Cholesky Factorization
Create Real Matrix From Eigenvalues
Create Special Matrix
Determinant
Dot Product
Eigenvalues and Vectors
Generalized Eigenvalues and Vectors
Generalized SVD Decomposition
Hessenberg Decomposition
Inverse Matrix
Kronecker Product
LU Factorization
Lyapunov Equations
Matrix Balance
Matrix Characteristic Polynomial
Matrix Condition Number
Matrix Exp
Matrix Logarithm
Matrix Norm
Matrix Power
Matrix Rank
Matrix Square Root
Outer Product
PseudoInverse Matrix
QR Decomposition
QZ Decomposition
Schur Decomposition
Solve Linear Equations
SVD Decomposition
Sylvester Equations
Test Matrix Type
Trace
Transpose Matrix
Vector Norm
Basic Linear Algebra Subroutines VIs

amax - Max Element Index
amin - Min Element Index
asum - Absolute Values Sum
axpy - Scalar-Vector Product
copy - Vector Copy
ddot - Dot Product (DBL)
dger - General Matrix Rank-1 Update (DBL)
drotm - Fast Givens Rotation (DBL)
drotmg - Fast Givens Rotation Parameters (DBL)
dsymv - Symmetric Matrix-Vector Product (DBL)
dsyr - Symmetric Matrix Rank-1 Update (DBL)
dsyr2 - Symmetric Matrix Rank-2 Update (DBL)
gemm - General Matrix-Matrix Product
gemv - General Matrix-Vector Product
nrm2 - Vector 2-Norm
rot - Givens Rotation
rotg - Givens Rotation Parameters
swap - Vector Swap
symm - Symmetric Matrix-Matrix Product
syr2k - Symmetric Matrix Rank-2k Update
syrk - Symmetric Matrix Rank-k Update
trmm - Triangle Matrix-Matrix Product
trmv - Triangle Matrix-Vector Product
trsm - Solve Linear Eqs (Triangle, multiple)
trsv - Solve Linear Eqs (Triangle, single)
zdotc - Dot Product with Conjugation (CDB)
zdotu - Dot Product (CDB)
zgerc - General Matrix Rank-1 Update with Conjugation (CDB)
zgeru - General Matrix Rank-1 Update (CDB)
zhemm - Hermitian Matrix-Matrix Product (CDB)
zhemv - Hermitian Matrix-Vector Product (CDB)
zher - Hermitian Rank-1 Update (CDB)
zher2 - Hermitian Rank-2 Update (CDB)
zher2k - Hermitian Matrix Rank-2k Update (CDB)
zherk - Hermitian Rank-k Update (CDB)

Numeric Functions

Absolute Value
Add
Add Array Elements
Compound Arithmetic
Decrement
Divide
Enum Constant
Expression Node
Increment
Machine Epsilon
Multiply
Multiply Array Elements
Negate
Negative Infinity
Numeric Constant
Positive Infinity
Quotient & Remainder
Random Number (0-1)
Reciprocal
Ring Constant
Round To -Infinity
Round To +Infinity
Round To Nearest
Scale By Power Of 2
Sign
Square
Square Root
Subtract
Complex Functions

Complex Conjugate
Complex To Polar
Complex To Re/Im
Polar To Complex
Polar To Re/Im
Re/Im To Complex
Re/Im To Polar

Conversion VIs and Functions

Boolean Array To Number
Boolean To (0,1)
Byte Array To String
Cast Unit Bases
Color to RGB
Convert Unit
Number To Boolean Array
RGB to Color
String To Byte Array
To Byte Integer
To Double Precision Complex
To Double Precision Float
To Extended Precision Complex
To Extended Precision Float
To Long Integer
To Quad Integer
To Single Precision Complex
To Single Precision Float
To Time Stamp
To Unsigned Byte Integer
To Unsigned Long Integer
To Unsigned Quad Integer
To Unsigned Word Integer
To Word Integer

Data Manipulation Functions

Flatten To String
Join Numbers
Logical Shift
Mantissa & Exponent
Rotate
Rotate Left With Carry
Rotate Right With Carry
Split Number
Swap Bytes
Swap Words
Type Cast
Unflatten From String

Scaling VIs

Convert RTD Reading
Convert Strain Gauge Reading
Convert Thermistor Reading
Convert Thermocouple Reading

Math & Scientific Constants

Optimization VIs

Brent with Derivatives 1D
Chebyshev Approximation
Conjugate Gradient nD
Constrained Nonlinear Optimization
Downhill Simplex nD
Find All Minima 1D
Find All Minima nD
Golden Section 1D
Linear Programming Simplex Method
Quadratic Programming
Unconstrained Optimization

Polynomial VIs

Add Polynomials
Create Polynomial From PFE
Create Polynomial From Roots
Divide Polynomials
Evaluate Polynomial with Matrix
GCD of P(x) and Q(x)
Indefinite Integral of Polynomial
Integral of Polynomial over [a,b]
LCM of P(x) and Q(x)
Linear Evaluation
Multiply Polynomials
nth Derivative of Polynomial
Order of Polynomial
Partial Fraction Expansion
Polynomial Eigenvalues and Vectors
Polynomial Evaluation
Polynomial Plot
Polynomial Real Zeros Counter
Polynomial Roots
Polynomials Composition
Remove Zero Coefficients
Roots Classification
Sort Complex Numbers
Subtract Polynomials
Unique Numbers and Multiplicity
Rational Polynomial VIs

1D Rational Polynomial Evaluation
Add Rational Polynomials
Create Polynomial From PFE
Divide Rational Polynomials
Multiply Rational Polynomials
Negative Feedback with Rational Polynomials
Normalize with Highest Den Term
Normalize with Lowest Den Term
nth Derivative of Rational Polynomial
Pade Approximation
Partial Fraction Expansion
Positive Feedback with Rational Polynomials
Remove Residue from Denominator
Subtract Rational Polynomials

Orthogonal & Non-orthogonal Polynomials VIs

Bessel Polynomial
Chebyshev Polynomial
Create Orthogonal Polynomial

Probability and Statistics VIs

Correlation Coefficient
Correlation Coefficient (Kendall's Tau)
Correlation Coefficient (Spearman)
Covariance Matrix
Create Histogram
General Histogram
Histogram
Mean
Measures of Mean
Measures of Spread
Median
Mode
Moment about Mean
MSE
Percentiles
RMS
Standard Deviation and Variance
Statistics
Analysis of Variance VIs

1D ANOVA
2D ANOVA
3D ANOVA

Hypothesis Testing VIs

Contingency Table
Correlation Test
Rank Transformation
Sign Test
T Test
Wilcoxon Signed Rank Test
Z Test

Probability VIs

Continuous CDF
Continuous Inverse CDF
Continuous Moments
Continuous PDF
Continuous Random
Discrete CDF
Discrete Inverse CDF
Discrete Moments
Discrete PF
Discrete Random

Scripts & Formulas VIs

Formula
Formula and Expression Node Error Messages
Formula Node
Formula Parsing VI Variables
Formula Parsing VIs in More Detail
MathScript Node
1D & 2D Evaluation VIs

Eval Polar to Rect Optimal Step
Eval X-Y(a,t)
Eval X-Y(t)
Eval X-Y(t) Optimal Step
Eval y=f(a,x)
Eval y=f(x)
Eval y=f(x) Optimal Step
Eval Polar to Rect
Eval y=f(x1,x2)
Eval y=f(a,x1,x2)
Eval X-Y-Z(t1,t2)
Eval X-Y-Z(a,t1,t2)
Eval Single-Variable Scalar
Eval Single-Variable Array
Eval Multi-Variable Scalar
Eval Multi-Variable Array
Eval Formula String
Eval Formula Node
Eval Parsed Formula String
Eval Parsed Formula Node

Calculus VIs

Curve Length
Differentiation
Extrema of f(x1,x2)
Integration
Limit
Partial Derivatives of f(x1,x2)
Zeros and Extrema of f(x)

Formula Parsing VIs

Parse Formula Node
Parse Formula String
Substitute Variables

Script Nodes

MATLAB Script
Xmath Script

Zeros VIs

Find All Zeros of f(x)
Newton Raphson Zero Finder
Nonlinear System Single Solution
Nonlinear System Solver
Ridders Zero Finder


Resources


 

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