Skip to Main Content Skip to Search
Product Documentation

ellipke - Complete elliptic integrals of first and second kind

Syntax

K = ellipke(M)
[K,E] = ellipke(M)
[K,E] = ellipke(M,tol)

Description

K = ellipke(M) returns the complete elliptic integral of the first kind for the each element in M.

[K,E] = ellipke(M) returns the complete elliptic integral of the first and second kinds.

[K,E] = ellipke(M,tol) computes the complete elliptic integral to accuracy tol. The default is eps(class(M)); increase the tolerance for a less accurate but more quickly computed answer.

Limitations

ellipke is limited to the input domain 0 ≤ m ≤ 1.

Definitions

The complete elliptic integral of the first kind is

where m is the first argument of ellipke.

The complete elliptic integral of the second kind is

Some definitions of K and E use the elliptical modulus k instead of the parameter m. They are related as

References

[1] Abramowitz, M., and I.A. Stegun. Handbook of Mathematical Functions. Dover Publications, 1965.

See Also

ellipj

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS