W = airy(k,Z) returns
any of four different Airy functions, depending on the value of k,
such as the Airy function of the second kind or the first derivative
of an Airy function.

System variable, specified as a real or complex vector, matrix,
or N-D array.

Data Types: single | double Complex Number Support: Yes

k — Type of Airy function 0 (default) | 1 | 2 | 3

Type of Airy function, specified as one of four values.

k

Returns

0

Airy function,$$Ai(Z)$$,
which is the same as airy(Z).

1

First derivative of Airy function, $$A{i}^{\prime}(Z)$$.

2

Airy function of the second kind,$$Bi(Z)$$

3

First derivative of Airy function of the second kind,$$B{i}^{\prime}(Z)$$

Data Types: single | double

scale — Scaling option 0 (default) | 1

Scaling option, specified as 0 or 1.
Use scale = 1 to enable the scaling of Z.
The values you specify for k and scale determine
the scaling function airy applies to Z.

C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.

Usage notes and limitations:

Always returns a complex
result.

Strict single-precision calculations are not
supported. In the generated code, single-precision
inputs produce single-precision outputs. However,
variables inside the function might be
double-precision.

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.