Elliptical Integrals--MATLAB Equivalent for Mathematica's EllipticE

조회 수: 10 (최근 30일)
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

채택된 답변

Walter Roberson
Walter Roberson 2012년 12월 24일
Mathematica's EllipticE is the complete elliptic integral of the second kind.
Numerically in MATLAB, use ellipke and take the second output.
  댓글 수: 2
Vsh
Vsh 2012년 12월 24일
Thanks Walter but ellipke(0.4)=1.7775 so it's not the equivalent...any suggestions or comments?
Vsh
Vsh 2012년 12월 24일
Never mind, I got it. Thanks again.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by