problem in plotting the logarithmic integral

1 visualizzazione (ultimi 30 giorni)
Henry
Henry il 9 Set 2014
Risposto: Star Strider il 9 Set 2014
Good Evening to everybody.
I have a serious problem. I'm using Matlab, and I am not be able to plot the Logarithmic Integral, logint or LI(x). Matlab do not recognize the command or the input, and I don't know how to do.
For example if I write
x = linspace(0, 10); y = cosint(x); plot(x,y)
it's all ok.
But if I try to write logint(x) or Li(x) or whatever else.. nothing. Error.
What's the problem?
Thank you very much to everybody

Risposte (1)

Star Strider
Star Strider il 9 Set 2014
It’s in the Symbolic Math Toolbox as logint. There is also a MuPAD version as Li. I can’t find documentation for any others, although searching the File Exchange for logarithmic integral might be an option.

Community Treasure Hunt

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

Start Hunting!

Translated by