FUNCTION REFERENCE

besselh

Bessel function of the third kind (Hankel function).

Bessel function of the third kind (Hankel function).

Syntax

H = besselh(nu, Z)

Syntax

H = besselh(nu, K, Z)

Syntax

H = besselh(nu, K, Z, scale)

H1 = J + iY for K = 1 (the default), H2 = J - iY for K = 2; scale 1 multiplies by exp(-i*Z) (K = 1) or exp(i*Z) (K = 2).

Example

besselh(0, 1)   % 0.7652 + 0.0883i

Differences from MATLAB: one output (no ierr); computed as J +- iY, so it loses accuracy where both grow and H decays (large imaginary Z).

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