ContentsIndexReferenceHome
PreviousUpNext
ZernikePolynomial
MATLAB
zp_out = ZernikePolynomial(noll_order,rho,theta)
Description

Returns the value of the Zernike polynomial of order noll_order at normalized radius rho and angle theta: 0<=rho<=1 0<=theta<=2pi. rho and theta may be scalar or matrix quantity.

Parameters
Parameters 
Description 
noll_order [scalar] 
Noll order for required Zernike polynomial 
rho [matrix] 
Radius values 
theta [matrix] 
Theta values 
Return Values
Return Values 
Description 
zp_out [vector] 
Zernike polynomial values 
Examples

>> x = ((1:64)-(64/2+1))*0.01; 

>> [y,x] = meshgrid(x,x); 

>> rad = sqrt(x.^2+y.^2); 

>> theta = atan2(y,x); 

>> rho = rad./0.25; 

>> z = ZernikePolynomial(5,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!