-
Notifications
You must be signed in to change notification settings - Fork 9
zernike
In mathematics, the Zernike polynomials are a sequence of polynomials that are orthogonal on the unit disk. Named after Nobel Prize winner and optical physicist, and inventor of the phase contrast microscopy, Frits Zernike, they play an important role in beam optics.
Computes the Zernike polynomial with order n and m at the point z.
Argument n
Scalar
Argument m
Scalar
Argument z
Scalar
Returns 1. entry
Scalar
zernike(0, 0, 0.5)
The 0th order polynomial is always 1.0.
zernike(1, 0, 0.25)
Computes the 1st order polynomial with parameter m = 0 at the point 0.25, which gives us -0.25.
Computes the Zernike polynomial with order n and m at the points in Z.
Argument n
Scalar
Argument m
Scalar
Argument Z
Matrix
Returns 1. entry
Matrix
zernike(1, 1, 0:0.1:1)
The polynomial at order 1, 1 evaluated at the values 0, 0.1, 0.2, ..., 1.0.