Contents Previous Next Subchapters

The Jn Bessel Function
Syntax besselj(nx)
See Also bessely , betai , gammln , erf

Description
Returns the element-by-element Jn Bessel function, where n is a nonnegative integer scalar, and x is a real or double-precision matrix.

Uses the recurrance relation
              2 n
     J  (x) = --- J (x) - J  (x)
      n+1      x   n       n-1
This recursion is not "stable" if |x| < n.

Example
     x = seq(100) / 10.
     gtitle("J2(x)")
     gplot(x, besselj(2, x))

returns the following plot: