Member of the advanced class.
y = airy(x)
y = airy(kind, x)
[y, error] = airy(x)
[y, error] = airy(kind, x)
Computes the Airy functions Ai and Bi as well as their derivatives.
| Name | Description | ||||||||
| x | Specifies a real or complex scalar, vector, or matrix. | ||||||||
| kind | Specifies the kind of Airy function to evaluate. kind is an integer that accepts the following values.
|
| Name | Description | ||||||||||||
| y | Returns an Airy function or the derivative of an Airy function. y is a matrix of the same size as x. | ||||||||||||
| error | Returns error information about the evaluation of the Airy functions. error is an integer that can return the following values.
|
Ai(x) and Bi(x) solve the following equation: w'' - x*w = 0.
LabVIEW computes Ai(x) using the following equation: Ai(x) = sqrt(x/3)*besselk(1/3, (2*sqrt(x)3)/3). LabVIEW computes Bi(x) using a similar equation.
X = [0:0.01:2];
AI = airy(X);
plot(X, AI)