Elliptical Integrals--MATLAB Equivalent for Mathematica's EllipticE

10 views (last 30 days)
Hello, I'm converting a code from Mathematica to Matlab and there is a function (EllipticE) in Mathematica that I can't find its equivalent in Matlab. EllipticE computes a complete elliptical integral (Mathematica doesn't specify what kind (e.g. first, second or third)). Any help would be appreciated.
For example in Mathematica, EllipticE[0.4]= 1.399
What's the equivalent function in Matlab, i.e. F(0.4)= 1.399

Accepted Answer

Walter Roberson
Walter Roberson on 24 Dec 2012
Mathematica's EllipticE is the complete elliptic integral of the second kind.
Numerically in MATLAB, use ellipke and take the second output.
  2 Comments
Vsh
Vsh on 24 Dec 2012
Thanks Walter but ellipke(0.4)=1.7775 so it's not the equivalent...any suggestions or comments?

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!