how to implement Bessel's function in MATLAB

조회 수: 2 (최근 30일)
NIHAD MOHAMED ALI
NIHAD MOHAMED ALI 2021년 1월 16일
댓글: NIHAD MOHAMED ALI 2021년 2월 10일
i want to find the solution of this bessels function mentioned
please help me to model the same in matlab or simulink

채택된 답변

Walter Roberson
Walter Roberson 2021년 1월 16일
편집: Walter Roberson 2021년 1월 16일
When Bessel functions are being used, it is not uncommon to find that you need higher precision than double precision can provide, so it is common to need to use the symbolic version. To be more precise, often calculation of the values needs a higher range than double precision can support: it is common to end up with formulas that involve the ratio of two large numbers, and even though the ratio might be in the 1/1000 to 2 range, the individual numbers overflow to infinity in double precision.
  댓글 수: 10
Walter Roberson
Walter Roberson 2021년 2월 10일
Remember, besselj(1,sigma) is a constant value, and diff() of a constant value is 0. You did something similar to
syms X
f(X) = X^2
f(X) = 
x = 3
x = 3
diff(f(x))
ans = 
0
df = diff(f)
df(X) = 
df(x)
ans = 
6
When x is a particular number, f(x) is a point, not a line, and diff() of a point is 0. You need to differentiate the function and then substitute the particular number into the result.
NIHAD MOHAMED ALI
NIHAD MOHAMED ALI 2021년 2월 10일
yes, clealy understood my mistake ; thanks a bunch

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

추가 답변 (0개)

카테고리

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