Hi all,I want to use matlab to calculate the exponential integral,I know that the official function ExpIntegralE in Mathematica can calculate it.
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ma Jack
el 30 de Ag. de 2022
Comentada: ma Jack
el 7 de Sept. de 2022
As shown in the title, I want to find a relatively authoritative code to calculate exponential integral
0 comentarios
Respuesta aceptada
Paul
el 31 de Ag. de 2022
ExpIntegralE in Mathematica seems to be the same as the two-argument form of expint in the Symbolic Math Toolbox.
2 comentarios
Paul
el 4 de Sept. de 2022
"there is no official matlab function that is used like expint(n,x), in matlab "
Using the function at the doc page for expint linked above in this Answer
expint(sym(3),sym(5.5))
Get the decimal representation
vpa(expint(sym(3),sym(5.5)))
which is the same result using ExpIntegalE in Mathematica link
Más respuestas (1)
John D'Errico
el 30 de Ag. de 2022
Editada: John D'Errico
el 30 de Ag. de 2022
Is there a reason why you would not just use expint?
help expint
Probably you did not look for it. And that was what you did wrong. When you don't know how to do something in MATLAB, LEARN TO USE LOOKFOR. In my case, this identified many possible things, but do you see the 6th item on the list?
lookfor exponential
expmdemo1 - Matrix exponential via Pade approximation.
expmdemo2 - Matrix exponential via Taylor series.
expmdemo3 - Matrix exponential via eigenvalues and eigenvectors.
exp - Exponential.
expm - Matrix exponential.
expint - Exponential integral function.
...
Any guesses what expint would do? The point is, USE LOOKFOR.
6 comentarios
Walter Roberson
el 4 de Sept. de 2022
https://www.mathworks.com/help/symbolic/expint.html is not part of MATLAB???
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!