How can I use modified bessels function of second order for the following equation??

조회 수: 1 (최근 30일)
how can i write code the image problem in matlab to find the first and zeroth order modified bessels function of second kind. The equation is slightly different from the standard modified bessels equation given in mathworks. Kindly help me. Thanking you in advance.

답변 (1개)

Maneet Kaur Bagga
Maneet Kaur Bagga 2022년 7월 4일
Hi Sandhya Pai,
As per my understanding you want to write the zeroth and the first order modified bessels function of second kind. I have written my code below. I hope you find it useful.
gam=0.5772156649;
x = 5;
I0 = 1;
for k1 = 1:10
I0 = I0 + (((x.^2)./4).^k1)/(factorial(k1)^2);
end
I0m = besseli(0,x);
I0cmp = [I0m I0]
K0 = -(log(x/2)+gam)*I0;
frx = 0;
for k1 = 1:10
frx = frx + 1/k1;
K0 = K0 + (frx*(((x.^2)./4).^k1)/(factorial(k1)^2));
end
K0m = besselk(0,x);
K0cmp = [K0m K0]
NOTE: My notation corresponds to that in Abramowitz and Stegun, except for using x where they use z

카테고리

Help CenterFile Exchange에서 Bessel functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by