Plotting an equation with summation and roots of bessel function

조회 수: 2 (최근 30일)
Qian Ying Ooi
Qian Ying Ooi 2020년 4월 19일
댓글: Devineni Aslesha 2020년 4월 22일
where y=M(t)/M(infinity), alpha(n) are roots of bessel function (first kind, zero order)
D and a are constants, D=5.46e-4, a=3
I'm trying to plot (t,y) for t=0:1:300 but not sure how to code for the roots of bessel function part. Any help is greatly appreciated, thank you!

답변 (1개)

Devineni Aslesha
Devineni Aslesha 2020년 4월 21일
The roots of the bessel function (first kind, zero order) can be obtained from the below code.
Z = 0:0.1:20;
J0 = besselj(0,Z);
alpha = roots(J0);
For more information, refer the following links.
  댓글 수: 2
J. Alex Lee
J. Alex Lee 2020년 4월 21일
this does not seem right...
Devineni Aslesha
Devineni Aslesha 2020년 4월 22일
I apologize for the above answer. However, the roots of the bessel function can be found using roots function from the given File Exchange link.

댓글을 달려면 로그인하십시오.

카테고리

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