Rank: 51663 based on 0 downloads (last 30 days) and 0 file submitted



Personal Profile:


Watch this Author's files


Comments and Ratings by Elia
Updated File Comments Rating
30 Mar 2010 Zernike polynomials Zernike polynomials and functions (orthogonal basis on the unit circle). Author: Paul Fricker

I am still becoming accustomed to MATLAB. When I run the zernfun.m by itself without any modifications, I get this error

??? Input argument "n" is undefined.
Error in ==> zernfun at 88
if ( ~any(size(n)==1) ) || ( ~any(size(m)==1) ).

However, when I initialized n, m, r, & theta, I get this error

??? Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.

Error in ==> meshgrid

Does anybody have any thoughts about making zernfun.m to work? Any help would be greatly appreciated.

Contact us