Does MATLAB have inverse tangent integral TI2(z)?

2 ビュー (過去 30 日間)
HC98
HC98 2022 年 10 月 3 日
編集済み: Torsten 2022 年 10 月 3 日
In Mathematica, one calls the function using :
(PolyLog[2, I z] - PolyLog[2, -I z])/(2 I)
How dl I implement this in matlab, is there a built in function for the tangent integral?

回答 (2 件)

Star Strider
Star Strider 2022 年 10 月 3 日
The polylog function exists in the Symbolic Math Toolbox. It supports symbolic and numeric (double) arguments.

Torsten
Torsten 2022 年 10 月 3 日
編集済み: Torsten 2022 年 10 月 3 日
format long
x = 0.5;
Ti2 = 1i*( -dilog(1-1i*x) + 0.25*dilog(1+x.^2) )
Ti2 =
0.487222358294522
Ti2_compare = integral(@(x)atan(x)./x,0,x)
Ti2_compare =
0.487222358294522

カテゴリ

Help Center および File ExchangeMathematical Functions についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by