| Contents | Index |
K = ellipke(M)
[K,E] = ellipke(M)
[K,E] = ellipke(M,tol)
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.
ellipke is limited to the input domain 0 ≤ m ≤ 1.
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
![]()
[1] Abramowitz, M., and I.A. Stegun. Handbook of Mathematical Functions. Dover Publications, 1965.

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |