You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Zernike polynomials are orthogonal on the unit circle and are commonly used in optics for phase aberrations.
Use zernike_fcn3.m to generate Zernike polynomials. Input includes a vector of the desired polynomials; these do not have to be consecutive. Possible polynomial orderings include:
'noll' = Bob Noll's original ordering
'fringe' = Univ. of Arizona Zernike set
'original'= original order of zernfun.m
'default' = the 'fringe' (UofA) set + more terms
zernike_fcn3.m does consistency checking, selects the appropriate m & n values for a particular ordering and then calls zernfun.m to generate the polynomials.
Use zernike_coeffs3.m to fit Zernike polynomial to an input function. Since zernike_coeffs3.m calls zernike_fcn3.m, these files are automatically consistent with each other, unlike some previous functions.
Cite As
Carey Smith (2026). zernike3 (https://ch.mathworks.com/matlabcentral/fileexchange/28665-zernike3), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Zernike polynomials, Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion in Matlab
General Information
- Version 1.0.0.0 (6.75 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
