ContentsIndexReferenceHome
PreviousUpNext
ZernikeCoefficient
MATLAB
c_out = ZernikeCoefficient(p,c,r,t)
Description

Computes Zernike coefficients for given Zernike modes when provided with the phase screen and radial coordinates.

Parameters
Parameters 
Description 
p [matrix] 
Phase screen 
c [vector] 
Zernike modes for which coefficients are to be computed 
r [matrix] 
Radius values 
t [matrix] 
Theta values 
Return Values
Return Values 
Description 
c_out [vector] 
Zernike coefficients corresponding to each input mode 
Examples

  • rad = sqrt(x.^2+y.^2);
  • theta = atan2(y,x);
  • ApRad = 0.25;
  • mask = (rad<=ApRad);
  • rho = rad./ApRad;
  • z = ZernikePolynomial(5,rho,theta);
  • c = ZernikeCoefficient(z.*mask,[2:11],rho,theta)

See Also
Group
Made with Doc-O-Matic.
Copyright (c) 2009. All rights reserved.
What do you think about this topic? Send feedback!