
How to write exponential integral in equation?
조회 수: 1 (최근 30일)
이전 댓글 표시
How can I write above equation in matlab code, where E1 is exponential integral.
댓글 수: 0
채택된 답변
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 Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!