## specialphase

Version 1.0.1.0 (2.87 KB) by
Compute the phase functions of the Bessel functions and their derivative

Updated 29 Jun 2017

From GitHub

These Matlab functions to compute the phase function for the Bessel and Airy
functions and their derivatives.
`phase = besselphase(nu,x)` computes θₙ(x) = arctan(Yₙ(x)/Jₙ(x)) where
Jₙ and Yₙ are the Bessel functions of the first and second kind. The
branch is determined by continuity and θₙ(0) = -π/2

`phase = besselprimephase(nu,x)` computes φₙ(x) = arctan(Y'ₙ(x)/J'ₙ(x)) where
J'ₙ and Y'ₙ are the derivatives with respect to theargument of the Bessel
functions of the first and second kind. The branch is determined by continuity
and φₙ(0) = π/2

`phase = airyphase(x)` computes θ(x) = arctan(A(x)/B(x)) where A and
B are the Airy functions of the first and second kind. The branch is determined
by continuity and θ(0) = π/6

`phase = airyprimephase(x)` computes φ(x) = arctan(A'(x)/B'(x)) where A' and
B' are the derivatives of the Airy functions of the first and second kind. The
branch is determined by continuity and φ(0) = -π/6

### Cite As

David E. Horsley (2023). specialphase (https://github.com/dehorsley/specialphase), GitHub. Retrieved .

##### MATLAB Release Compatibility
Created with R2012a
Compatible with any release
##### Platform Compatibility
Windows macOS Linux
##### Categories
Find more on Bessel functions in Help Center and MATLAB Answers

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!