Exponential integral function

조회 수: 3 (최근 30일)
Daniel
Daniel 2012년 6월 21일
Hi,
I'm trying to use expint matlab's function for exponential integral to solve something like this:
pc= a*(expint((-(r^2))/(4*k*(tm-t0)))- expint((-(r^2))/(4*k*tm)))
in this problem I need to evaluate the exponential integral for x<0, and I wonder if I can actually do that with the expint function or if that function is only defined for x>0. I got strange values when I employed it in my calculations.
I was looking for a solution and I found a function for exponential integral named Ei within the mfunlist (Special Functions of Applied Mathematics). So I wonder if that function does work for x<0 and therefore is the one I should use.
Thanks.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Special Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by