MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > MATLAB computes Incomplete Elliptic Integrals inco... 

Subject: MATLAB computes Incomplete Elliptic Integrals incorrectly? From: Ishan Sharma Date: 24 Apr, 2010 11:11:05 Message: 1 of 6 
I compute the Incomplete Elliptic Function of the second kind in both MATLAB and Maple. For some values, I obtain an exact match, but not so for others. Please see below: 
Subject: MATLAB computes Incomplete Elliptic Integrals incorrectly? From: Walter Roberson Date: 24 Apr, 2010 13:56:32 Message: 2 of 6 
Ishan Sharma wrote: 
Subject: MATLAB computes Incomplete Elliptic Integrals incorrectly? From: Roger Stafford Date: 24 Apr, 2010 19:11:05 Message: 3 of 6 
"Ishan Sharma" <sudden20@yahoo.com> wrote in message <hqujk9$7o2$1@fred.mathworks.com>... 
Subject: MATLAB computes Incomplete Elliptic Integrals incorrectly? From: Roger Stafford Date: 24 Apr, 2010 21:55:24 Message: 4 of 6 
After consulting some old tables of elliptic integrals I agree with Walter. The answer 1.4182 you quote as being given by 'EllipticE' is way off the correct value for the arguments you state you have given it. That answer would only be correct for a k value well below .6 and an x value much closer than yours to 1. After double checking your answers you should report this to Mathworks. 
Subject: MATLAB computes Incomplete Elliptic Integrals incorrectly? From: moiseev.igor Date: 27 Apr, 2010 22:36:18 Message: 5 of 6 
You may try to use the "elliptic12" function from the elliptic package 
Subject: MATLAB computes Incomplete Elliptic Integrals incorrectly? From: Daniel Date: 7 Dec, 2011 19:01:10 Message: 6 of 6 
Can I ask how well this package has been validated? 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.