Function File: Z = zernike_polar (r, phi, n)
Function File: Z = zernike_polar (r, phi, n, limit_r)

Return the polar zernikes up to order n (as noll’s index).

If limit_r is false (default true), the polynoms for r>1 are not set to NaN because strictly, the polynoms are only defined for 0 <= r <= 1.

The first argument r is a matrix containing the radial distance, the second argument phi a matrix with the angles.

Size of r must be equal size of phi.

This file hasn’t a demo yet but have a look on "demo zernike_cartesian"

See also: zernike_cartesian, zernike_name, zernike_noll_to_nm, zernike_R_poly.

Package: optics