File Exchange

## elfun18

version 1.2.0.1 (19.1 MB) by milan batista

### milan batista (view profile)

elfun18 is a set of functions that enable computation of various elliptic integrals and functions.

Updated 02 May 2019

elfun18 is a collection of Matlab functions that enable the computation of wide set of Elliptic integrals, Jacobi's elliptic functions and Jacobi's theta functions for real arguments. The set has two levels: higher level functions with matrix arguments and low level functions with scalar arguments. Each function is available either with the modulus k or parameter m as argument. In later case the function name begin with m. Incomplete elliptic integrals are given in Jacobi form, Legendre form and Jacobi's second form (Epsilon function and Lambda functions).
List of functions:
Elliptic integrals:
- Bulirsch's elliptic integrals: cel, cel1, cel2, cel3, el1, el2, el3
- Carlson's elliptic integrals: rc, rd, rf, rg, rj
- Complete elliptic integrals: B, C, D, K, E, Pi
- Complementary complete elliptic integrals: K', E', Pi'
- Jacobi form of elliptic integrals: B, D, E, F, Pi
- Legendre form of elliptic integrals: B, D, E, F, Pi
- Jacobi second form of elliptic integrals: Epsilon, Zeta ( periodic part of Eps) Lambda ( elip. int. of 3rd kind), Omega
function ( periodic part of Lambda)
Jacobian elliptic functions
- am, cd, cn, cs, dc, dn, ds, nc, nd, ns, sc, sd, sn

Inverse Jacobian elliptic functions
- invam, invcd, invcn, invcs, invdc, invdn, invds, invnc, invnd, invns, invsc, invsd, invsn

Jacobi Theta Functions
- theta1, thet12, theta3, theta4, nome, modulus
Neville theta functions
Misc. functions
- agm ( arithmetic geometric mean), cl (lemniscate cos), sl, (lemniscate sin), invcl (inverse lemniscate cos), invsl (inverse lemniscate sin), Lambda0 (Heuman's function) gd (Gudermannian function), invgd (inverse Gudermannian function)

### Cite As

milan batista (2019). elfun18 (https://www.mathworks.com/matlabcentral/fileexchange/65915-elfun18), MATLAB Central File Exchange. Retrieved .

Pruthvi Raj Gampalwar

J. Alex Lee

### J. Alex Lee (view profile)

Nevermind, I found your arxiv article that explained that I'm looking for mpEllipticE. Thanks!

J. Alex Lee

### J. Alex Lee (view profile)

What is the relationship between mEllipticE(u,m) and Matlab's symbolic toolbox's ellipticE? Thanks!

Karsten Kuhlmann

milan batista

### milan batista (view profile)

jacobiCN(x,m) use m as the parameter while JacobiCN(x,k) use elliptic modulus k as the parameter. So you should use mJacobiCN(x,m). Then you will obtain the same results as by jacobiCN . For example mJacobiCN(2,0.5)=-0.103183615527762 and jacobiCN(2,0.5) = -0.103183615527762

zhangping zhang

### zhangping zhang (view profile)

Could you tell me why the result from your function is different from the result from the matlab?
for example:JacobiCN and jacobiCN .
Thank you very much!

Jhonatan da Ponte Lopes

### Jhonatan da Ponte Lopes (view profile)

 2 May 2019 1.2.0.1 correct mjepsilon 31 Mar 2018 1.2.0.0 Add note about Neville theta function 31 Mar 2018 1.2.0.0 add figure 31 Mar 2018 1.2.0.0 Neville theta functions are added. Two examples from mechanics are added: Euler elastica and Reissner rod 2 Mar 2018 1.1.0.0 Minor corrections 27 Feb 2018 1.1.0.0 Correct mijns.m and InverseJacobiAM_doc.mlx 26 Feb 2018 1.1.0.0 Major revision. Add live script examples. 11 Feb 2018 1.1.0.0 Fix melK and mpelF. 8 Feb 2018 1.1.0.0 fix mpelE, add new test for melPi 6 Feb 2018 1.1.0.0 Fix bugs in mjlambda.m 31 Jan 2018 1.0.0.0 Change comments 31 Jan 2018 1.0.0.0 Figures are included
##### MATLAB Release Compatibility
Created with R2016a
Compatible with any release
##### Platform Compatibility
Windows macOS Linux

### Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.