資源簡介
matlab編寫的zernike多項式擬合代碼,由于干涉圖像處理等波面擬合領(lǐng)域
代碼片段和文件信息
function?z?=?zernfun(nmrthetanflag)
%ZERNFUN?Zernike?functions?of?order?N?and?frequency?M?on?the?unit?circle.
%???Z?=?ZERNFUN(NMRTHETA)?returns?the?Zernike?functions?of?order?N
%???and?angular?frequency?M?evaluated?at?positions?(RTHETA)?on?the
%???unit?circle.??N?is?a?vector?of?positive?integers?(including?0)?and
%???M?is?a?vector?with?the?same?number?of?elements?as?N.??Each?element
%???k?of?M?must?be?a?positive?integer?with?possible?values?M(k)?=?-N(k)
%???to?+N(k)?in?steps?of?2.??R?is?a?vector?of?numbers?between?0?and?1
%???and?THETA?is?a?vector?of?angles.??R?and?THETA?must?have?the?same
%???length.??The?output?Z?is?a?matrix?with?one?column?for?every?(NM)
%???pair?and?one?row?for?every?(RTHETA)?pair.
%
%???Z?=?ZERNFUN(NMRTHETA‘norm‘)?returns?the?normalized?Zernike
%???functions.??The?normalization?factor?sqrt((2-delta(m0))*(n+1)/pi)
%???with?delta(m0)?the?Kronecker?delta?is?chosen?so?that?the?integral
%???of?(r?*?[Znm(rtheta)]^2)?over?the?unit?c
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????6369??2006-11-13?12:56??zernpol.m
?????文件????????2562??2006-11-13?12:57??zernfun2.m
?????文件????????6652??2006-11-13?12:57??zernfun.m
評論
共有 條評論