Member of the advanced class.
kv = besselk(v, x)
kv = besselk(v, x, 1)
[kv, error] = besselk(v, x)
[kv, error] = besselk(v, x, 1)
Computes the modified Bessel function of the second kind of a given order.
| Name | Description |
| v | Specifies the order of the Bessel function. v is a real, double-precision, floating-point, positive scalar, vector, or matrix. |
| x | Specifies the value for which you want to compute the Bessel function. x is a real or complex, double-precision, floating-point scalar, vector, or matrix. |
| 1 | Scales the computation. besselk(v, x, 1) scales besselk(v, x) by exp(x). |
| Name | Description | ||||||||||||
| kv | Returns the modified Bessel function of the second kind. kv is a real or complex, double-precision, floating-point scalar, vector, or matrix. | ||||||||||||
| error | Returns error information about the evaluation of the Bessel function. error is an integer that can return the following values.
|
besselk(v, x) solves the following equation: x2*w''+x*w'-(x2+v2)*w = 0.
The following equation is a well-known representation for besselk(v, x): besselk(v, x) = (pi/2)*(besseli(-v, x)-besseli(v, x))/sin(v*pi).
X = [0:0.01:2];
KV = besselk(2, X);
plot(X, KV)