How to write exponential integral in equation?

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 日

0 投票

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

1 件のコメント

Dhawal Beohar
Dhawal Beohar 2020 年 11 月 30 日
Thank you for the help Ameer !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by