ellipj
Jacobi elliptic functions sn, cn, dn.
Syntax
Section titled “Syntax”[sn, cn, dn] = ellipj(u, m, tol)Description
Section titled “Description”Returns the three Jacobi elliptic functions evaluated at u with parameter m (the elliptic modulus squared, 0 ≤ m ≤ 1). Optional tol controls convergence (default eps). Used in pendulum dynamics, soliton solutions, and elliptic-filter design.
Example
Section titled “Example”[sn, cn, dn] = ellipj(0.5, 0.5)See also
Section titled “See also”ellipke— Complete elliptic integrals of the first and second kind.