Where is the ellipticf function?

조회 수: 4 (최근 30일)
Roy Goodman
Roy Goodman 2017년 8월 4일
편집: Roy Goodman 2017년 8월 4일
According to this MathWorks website:
https://www.mathworks.com/help/symbolic/ellipticf.html
Matlab has an incomplete elliptic integral function.
It doesn't seem to exist in my copy, running 2017a, with symbolic toolbox installed. The website doesn't seem to indicate that this function requires any non-standard toolbox except possibly symbolic math. What gives?

채택된 답변

Star Strider
Star Strider 2017년 8월 4일
It’s there, and will respond if you call it correctly.
MATLAB is case-sensitive:
s = [ellipticF(pi/3, -10.5), ellipticF(pi/4, -pi),...
ellipticF(1, -1), ellipticF(pi/2, 0)]
s =
618.4459e-003 648.5970e-003 896.3938e-003 1.5708e+000
while:
s = [ellipticf(pi/3, -10.5), ellipticF(pi/4, -pi),...
ellipticF(1, -1), ellipticF(pi/2, 0)]
Cannot find an exact (case-sensitive) match for 'ellipticf'
The closest match is: ellipticF in C:\Program
Files\MATLAB\R2017a\toolbox\symbolic\symbolic\@double\ellipticF.m
  댓글 수: 2
Roy Goodman
Roy Goodman 2017년 8월 4일
편집: Roy Goodman 2017년 8월 4일
Thanks. I think my confusion came from the fact that the "lookfor" command misses it:
">>lookfor ellipt" comes up with 15 responses, but not this one!
What's more, tab-completion fails to find any completions for "ellipt".
Star Strider
Star Strider 2017년 8월 4일
My pleasure.
Interesting about lookfor. I’ll bring this thread to the attention of MathWorks so they can look into it.

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

추가 답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by