Which method does the mfun-function ellipticK use?

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!

 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

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...

Sign in to comment.

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!