File Exchange

image thumbnail

specialphase

version 1.0.1.0 (2.87 KB) by David E. Horsley
Compute the phase functions of the Bessel functions and their derivative

1 Download

Updated 29 Jun 2017

From GitHub

View Version History

View license on 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 (2021). specialphase (https://github.com/dehorsley/specialphase), GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!