Code covered by the BSD License  

Highlights from
zernike3

4.0

4.0 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 6.75 KB File ID: #28665

zernike3

by Carey Smith

 

08 Sep 2010

Compute Zernike polynomials and coefficients of a Zernike fit with mutually consistent functions.

| Watch this File

File Information
Description

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.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Zernike polynomials, Zernike Polynomial Coefficients for a given Wavefront using Matrix Inversion in Matlab

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
23 Dec 2010 Robin Martin

fantastic

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
zernike Carey Smith 08 Sep 2010 12:27:28
optics Carey Smith 08 Sep 2010 12:27:29
zernike decomposition Carey Smith 08 Sep 2010 12:27:29
orthogonal polynomial Carey Smith 08 Sep 2010 12:27:29
aberration Carey Smith 08 Sep 2010 12:27:29

Contact us at files@mathworks.com