bessely
Bessel function of the second kind.
Syntax
[y,ierr] = bessely(alpha, x, opt)
Inputs
- alpha
- The function order.
- x
- The function argument.
- opt
- The scaling option.
Outputs
- y
- The Bessel function values.
- ierr
- The return status flag.
Examples
Unscaled example:
y = bessely(3,[10:12;13:15]*i)
y = [Matrix] 2 x 3
1.75838e+03 - 1.73496e-05i 4.75793e+03 - 5.87102e-06i 1.28329e+04 - 2.00639e-06i
3.45380e+04 - 6.91133e-07i 9.28206e+04 - 2.39628e-07i 2.49218e+05 - 8.35453e-08i
Scaled example:
y = bessely(3,[10:12;13:15]*i,1)
y = [Matrix] 2 x 3
7.98304e-02 - 7.87671e-10i 7.94655e-02 - 9.80561e-11i 7.88480e-02 - 1.23277e-11i
7.80672e-02 - 1.56219e-12i 7.71830e-02 - 1.99257e-13i 7.62365e-02 - 2.55567e-14i
Comments
If alpha and x have different dimensions, a singleton dimension in either variable is expanded to match the corresponding dimension length of the other variable.