# bessely

## Purpose

Bessel functions of the second kind.

## Synopsis

    Y = bessely(alpha,x)

## Description

`Y = bessely(alpha,x)` computes Bessel functions of the second kind for real, non-negative order `alpha` and argument `x`. If `alpha` is a scalar and `x` is a vector, `Y` is a vector the same length as `x`. If `x` is a vector of length `m` and `alpha` is a vector of length `n`, then `Y` is an `m`-by-`n` matrix and `Y(i,k)` is `bessely(alpha(k), x(i))`. The elements of `x` can be any nonnegative real values, in any order. For `alpha`, the increment between elements must be 1, and all elements must be between 0 and 1000, inclusive.

## Algorithm

The `bessely` algorithm is based on a FORTRAN program by W.J. Cody and L. Stoltz, Applied Mathematics Division, Argonnne National Laboratory, dated March 19, 1990. This program is available on NETLIB.

## See Also

    bessel, besseli, besselj, besselk

(c) Copyright 1994 by The MathWorks, Inc.