| MATLAB® | ![]() |
W = airy(Z)
W = airy(k,Z)
[W,ierr] = airy(k,Z)
The Airy functions form a pair of linearly independent solutions to

The relationship between the Airy and modified Bessel functions is

where
![]()
W = airy(Z) returns the Airy function,
, for each element of the complex array Z.
W = airy(k,Z) returns different results depending on the value of k.
k | Returns |
|---|---|
The same result as airy(Z) | |
The derivative,
| |
The Airy function of the second kind,
| |
The derivative,
|
[W,ierr] = airy(k,Z) also returns completion flags in an array the same size as W.
ierr | Description |
|---|---|
airy successfully computed the Airy function for this element. | |
Illegal arguments | |
Overflow. Returns Inf | |
Some loss of accuracy in argument reduction | |
Unacceptable loss of accuracy, Z too large | |
No convergence. Returns NaN |
besseli, besselj, besselk, bessely
[1] Amos, D. E., "A Subroutine Package for Bessel Functions of a Complex Argument and Nonnegative Order," Sandia National Laboratory Report, SAND85-1018, May, 1985.
[2] Amos, D. E., "A Portable Package for Bessel Functions of a Complex Argument and Nonnegative Order," Trans. Math. Software, 1986.
![]() | addts | align | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |