problem in plotting the logarithmic integral

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

Answers (1)

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.

Asked:

on 9 Sep 2014

Answered:

on 9 Sep 2014

Community Treasure Hunt

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

Start Hunting!