elfun18

elfun18 is a set of functions that enable computation of various elliptic integrals and functions.
612 Downloads
Updated Thu, 22 Oct 2020 11:26:47 +0000

View License

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
-nthetac, nthetad, nthetan, nthetas
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 (2024). elfun18 (https://www.mathworks.com/matlabcentral/fileexchange/65915-elfun18), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Special Functions in Help Center and MATLAB Answers
Acknowledgements

Inspired: Magnetic Field Modeling

Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

elFun18v1_5

elFun18v1_5/elfun18

elFun18v1_5/examples

elFun18v1_5/examples/gui

elFun18v1_5/examples/mechanics

elFun18v1_5/examples/plot

elFun18v1_5/examples/test_accuracy

elFun18v1_5/examples/test_timing

elFun18v1_5/examples/test_verification

Version Published Release Notes
1.2.0.4

Return to version 1.5 because of error in Jacobi theta function

1.2.0.3

Improved jtheta0 . Now is correct for q <= 0.999 (thanks to Alex Lee)

1.2.0.2

(1) Correction of functions JacobiTheta and jtheta
(2) Function JacobiK, jK are added. These functions return value of real part of the complete elliptic integral of the 1st kind for any real k. Note that EllipticK and elK return value only

1.2.0.1

correct mjepsilon

1.2.0.0

Neville theta functions are added. Two examples from mechanics are added: Euler elastica and Reissner rod
add figure
Add note about Neville theta function

1.1.0.0

fix mpelE, add new test for melPi
Minor corrections
Fix bugs in mjlambda.m
Correct mijns.m and InverseJacobiAM_doc.mlx
Fix melK and mpelF.
Major revision. Add live script examples.

1.0.0.0

Figures are included
Change comments