FUNCTION REFERENCE

besselj

Bessel function of the first kind.

Bessel function of the first kind.

Syntax

J = besselj(nu, Z)

Syntax

J = besselj(nu, Z, scale)

J_nu(Z) for real order nu and real or complex Z; scale 1 multiplies by exp(-abs(imag(Z))). A row of orders against a column of arguments gives a table. Negative real Z gives the principal-branch (complex) value.

Example

besselj(0, 1)   % 0.7652

Differences from MATLAB: one output (no ierr). Real arguments use Temme's series and Steed's continued fractions; complex arguments off the axes use power series below abs(Z) = 17, which lose accuracy as abs(Z) grows there. Orders above 1e4 return 0 (J, I) or Inf (Y, K) for abs(Z) <= nu/2 as MATLAB does, and NaN for larger abs(Z).

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.