How to write exponential integral in equation?

1 次查看(过去 30 天)
How can I write above equation in matlab code, where E1 is exponential integral.

采纳的回答

Ameer Hamza
Ameer Hamza 2020-11-30
编辑:Ameer Hamza 2020-11-30
You can use expint() function
N = 1;
U = 2;
r = log2(exp(1))*exp(N/U)*expint(N/U)
Result
>> r
r =
1.3315
If you have symbolic toolbox, you can write the symbolic expression
syms U N
r = log2(exp(sym(1)))*exp(N/U)*expint(N/U)
Result from the live script

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by