Jacobi elliptic function ns
MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
jacobiNS(u,m) represents the Jacobi elliptic
Let . Then the Jacobi elliptic function ns is defined as follows:
The Jacobi functions are defined for complex values of u and m.
The Jacobi functions are meromorphic and doubly periodic with periods and with respect to u.
For m = 0 and m = 1, the Jacobi functions reduce to trigonometric or constant functions.
If one argument is a floating-point number, and the other one can be converted to a floating-point number, then a floating-point number is returned.
When called with floating-point arguments, these functions are
sensitive to the environment variable
DIGITS which determines
the numerical working precision.
For most arguments, the Jacobi functions return themselves unevaluated:
Floating-point numbers are returned if at least one of the arguments is a floating-point number:
Floating-point evaluation can be enforced by using
For m = 0 and m = 1, the result is expressed using a trigonometric function:
An arithmetical expression specifying the parameter.