how to implement Bessel's function in MATLAB
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
NIHAD MOHAMED ALI
il 16 Gen 2021
Commentato: NIHAD MOHAMED ALI
il 10 Feb 2021
i want to find the solution of this bessels function mentioned
please help me to model the same in matlab or simulink
0 Commenti
Risposta accettata
Walter Roberson
il 16 Gen 2021
Modificato: Walter Roberson
il 16 Gen 2021
https://www.mathworks.com/help/matlab/ref/besselj.html for the numeric version
https://www.mathworks.com/help/symbolic/besselj.html for the symbolic version
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 Commenti
Walter Roberson
il 10 Feb 2021
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
x = 3
diff(f(x))
df = diff(f)
df(x)
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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Bessel functions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!