Does MATLAB have inverse tangent integral TI2(z)?

6 vues (au cours des 30 derniers jours)
HC98
HC98 le 3 Oct 2022
Modifié(e) : Torsten le 3 Oct 2022
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?

Réponses (2)

Star Strider
Star Strider le 3 Oct 2022
The polylog function exists in the Symbolic Math Toolbox. It supports symbolic and numeric (double) arguments.

Torsten
Torsten le 3 Oct 2022
Modifié(e) : Torsten le 3 Oct 2022
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

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by