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

 Réponse acceptée

Walter Roberson
Walter Roberson le 24 Déc 2012
Mathematica's EllipticE is the complete elliptic integral of the second kind.
Numerically in MATLAB, use ellipke and take the second output.

2 commentaires

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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by