Elliptical Integrals--MATLAB Equivalent for Mathematica's EllipticE

10 vues (au cours des 30 derniers jours)
Vsh
Vsh le 24 Déc 2012
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
Vsh
Vsh le 24 Déc 2012
Thanks Walter but ellipke(0.4)=1.7775 so it's not the equivalent...any suggestions or comments?
Vsh
Vsh le 24 Déc 2012
Never mind, I got it. Thanks again.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center 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