elliptic_j (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: advanced

Requires: MathScript RT Module


[sn, cn, dn] = elliptic_j(x, p)

[sn, cn, dn] = elliptic_j(x, p, tol)

Legacy Name: ellipj


Computes the Jacobi elliptic functions.



Name Description
x Specifies the values for which you want to compute the Jacobi elliptic functions. x is a scalar, vector, or matrix. If p is a matrix, x is a matrix of the same size as p.
p Specifies the elliptic modulus. p is a real scalar, vector, or matrix with values between 0 and 1. If x is a matrix, p is a matrix of the same size as x.
tol Specifies the approximation tolerance. tol is a positive real number. The default is eps.


Name Description
sn Returns the Jacobi sn elliptic function. sn is a matrix of the same size as x or p.
cn Returns the Jacobi cn elliptic function. cn is a matrix of the same size as x or p.
dn Returns the Jacobi dn elliptic function. dn is a matrix of the same size as x or p.


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 Not characterized


X = 0:0.01:1;
[SN, CN, DN] = elliptic_j(X, 0.5);
plot(X, SN)

Related Topics



Not Helpful