# besselh

Bessel functions of the first or second kind.

## Syntax

[h,ierr] = besselh(alpha, k, x, opt)

## Inputs

`alpha`- The function order.
`k`- The function kind, either 1 or 2.
`x`- The function argument.
`opt`- The scaling option.

## Outputs

- h
- The Bessel function values.
- ierr
- The return status flag.

## Examples

`h = besselh(3,1,[10:12;13:15])`

```
h = [Matrix] 2 x 3
0.05838 - 0.25136i 0.22735 - 0.09148i 0.19514 + 0.12901i
0.00332 + 0.22420i -0.17681 + 0.12350i -0.19402 - 0.07511i
```

`h = besselh(3,2,[10:12;13:15],1)`

```
h = [Matrix] 2 x 3
0.08776 - 0.24267i 0.09249 - 0.22694i 0.09545 - 0.21357i
0.09721 - 0.20206i 0.09817 - 0.19204i 0.09855 - 0.18323i
```

## Comments

If `alpha` and `x` have different dimensions, a singleton
dimension in either variable is expanded to match the corresponding dimension length of the
other variable.