bessel(0,3) instead of a function that writes a numeric value?

1 view (last 30 days)
Bessel functions solution of differential equations in MATLAB equation, as a result of we have, on the command line and result bessel(0,3) to write the expression as. Instead, I'm looking for a function that specifies the exact numeric value. Please could you help.
  1 Comment
Torsten
Torsten on 30 Nov 2015
Not clear what you mean.
If you write
a = bessel(0,3);
a has the exact numerical value of bessel(0,3).
Best wishes
Torsten.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 30 Nov 2015
BesselJ(0,3) is an infinite series that does not have a simple representation, so you will not be able to obtain an exact value for it.
  3 Comments
Steven Lord
Steven Lord on 30 Nov 2015
I don't understand what you're asking for.
  • Do you have the value J = 0.3528 and you're looking for the nu and z inputs to BESSELJ that will give you that result?
  • Do you have the nu and z values nu = 2, z = 2 and want to find the value of the Bessel J function for those parameters?
  • Do you have some other combination of values (say nu and J and you want to find z?)
  • Do you have some other problem entirely?
The first case is going to be a little difficult; I would probably choose a value for nu and then use FZERO to find a root of @(z) J-besselj(nu, z). If it can't find such a root for the arbitrarily selected nu, choose a different nu and repeat the process.
The second case is just a straightforward call to BESSELJ.
The third case requires a slight modification of the first case.
The fourth case is going to require more explanation from you about the problem you're trying to solve.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!