MATLAB Answers


Which method does the mfun-function ellipticK use?

Asked by Sarah
on 8 May 2013

I'm wondering which method the ellipticK-function for the calculation of a complete elliptic integral of the first kind.

Thank's a lot for your help!



No products are associated with this question.

1 Answer

Answer by the cyclist
on 8 May 2013
 Accepted answer

Very often the documentation for the function will mention the algorithm, but in this case it doesn't seem to. You could try

>> edit ellipticK

and see if there are references in the header of the function. (I don't have that Toolbox, so I can't check.)

  1 Comment

on 8 May 2013

thanks a lot for the fast answer :)

somehow I can't access the function directly, as it is part of the mfun list. But I've just read in the help-tool, that ellipticK uses ellipke, which itseld uses the Arithmetic–geometric mean-method.... So, I think, that's the answer...

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!