I am trying to calculate the: polylog(3/2, z).
I have run both:
syms z
feval(symengine, 'polylog', 3/2, z)
or
evalin(symengine, 'polylog(3/2, z)')
and every time I take: MuPAD error: Error: The first argument must be an integer. [polylog].
But I want the first argument to be 3/2. So how can I face it? I run MATLABR2013a. Thank you in advance!

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 5 Jan. 2016

0 Stimmen

The documentation for polylog is clear that the first argument must be an integer. If you need a non-integer then you will need to use the definition of polylog, coding a symsum
syms k
PLz = symsum(z^k/k^(3/2), k=1..inf);

3 Kommentare

Yes thank you very much! In my version the expression that is accepted is:
PLz = symsum(z^k/k^(3/2), k,1,inf)
but still what I get is:
sum(z^k/k^(3/2), k == 1..Inf)
which doesn't help. Do you know how can I get an analytical form of the result? Thanks again!
Walter Roberson
Walter Roberson am 6 Jan. 2016
symsum(z^k/k^(3/2), k,1,inf) is the analytical form of the result, at least for abs(z) <= 1. If abs(z) is outside that range then the analytic form involves infinite integrals.
Theodoros Bouloumis
Theodoros Bouloumis am 6 Jan. 2016
Yes I see, thank you very much!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Torsten
Torsten am 6 Jan. 2016

0 Stimmen

Use
together with the relation
polylog(3/2,z) = z*lerch(z,3/2,1)
Best wishes
Torsten.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by