Elliptical Integrals--MATLAB Equivalent for Mathematica's EllipticE

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

Mathematica's EllipticE is the complete elliptic integral of the second kind.
Numerically in MATLAB, use ellipke and take the second output.

2 Comments

Thanks Walter but ellipke(0.4)=1.7775 so it's not the equivalent...any suggestions or comments?
Never mind, I got it. Thanks again.

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!