home *** CD-ROM | disk | FTP | other *** search
- function z = cplxgrid(m)
- %CPLXGRID Polar coordinate complex grid.
- % Z = CPLXGRID(m) is an (m+1)-by-(2*m+1) complex polar grid.
- % See CPLXMAP.
-
- % Copyright (c) 1984-93 by The MathWorks, Inc.
-
- r = (0:m)'/m;
- theta = pi*(-m:m)/m;
- z = r * exp(i*theta);
-