ELLIPKE

 

 Complete elliptic integrals.

  [K,E] = ELLIPKE(M) returns the value of the complete elliptic

  integrals of the first and second kinds, evaluated at M.  As currently

  implemented, M is limited to 0 < M < 1.

  The accuracy of ELLIPKE(M) is EPSMO1RU2.

 

 

  Be sure you don't confuse the modulus K with the parameter M -

  they are related in the following way:  M = K^2