besselk
Modified Bessel function of the second kind.
Syntax
[k,ierr] = besselk(alpha, x, opt)
Inputs
- alpha
- The function order.
- x
- The function argument.
- opt
- The scaling option.
Outputs
- k
- The Bessel function values.
- ierr
- The return status flag.
Examples
k = besselk(3,[10:12;13:15])
k = [Matrix] 2 x 3
2.72527e-05 9.22218e-06 3.15163e-06
1.08563e-06 3.76397e-07 1.31209e-07
k = besselk(3,[10:12;13:15],1)
k = [Matrix] 2 x 3
0.60028 0.55217 0.51294
0.48030 0.45266 0.42892
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.