besselj
- :
J =besselj(alpha, x)¶ - :
J =besselj(alpha, x, opt)¶ - :
[J, ierr] =besselj(…)¶ Bessel function of the first kind of order alpha at x.
alpha is real; x may be complex. A scalar argument expands against an array one. When alpha is a row vector and x a column vector the result is the table with element
(i,j)equal toJ_alpha(j) (x(i)). Otherwise both must have the same size.If opt is true the result is scaled by
exp (-abs (imag (x))). ierr reports the status of each element: 0 normal, 1 input error, 2 overflow, 3 reduced precision, 4 complete loss of precision and 5 no convergence.