[Master Index]
[Index for Courses]
create_zone
(ee2200/create_zone.m)
Function Synopsis
img = create_zone(N, shift)
Help text
CREATE_ZONE Creates an N by N zone-plate image
usage:
y = create_zone(N, <shift>)
y = output image
N = size of image (N by N)
shift = shift of the center of the image
(DEFAULT = N/2 puts center in center)
NOTE:
To display the image "img":
1. Load the colormap with a linear grayscale (only needs to
be done once) using the command "colormap(gray(256))".
2. Display the image y using the Matlab command
"image(y)".
Cross-Reference Information
This function calls
- cos /tools/hpmatlab/toolbox/matlab/elfun/cos.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- eps /tools/hpmatlab/toolbox/matlab/elmat/eps.m
- floor /tools/hpmatlab/toolbox/matlab/elfun/floor.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- ones /tools/hpmatlab/toolbox/matlab/elmat/ones.m
- pi /tools/hpmatlab/toolbox/matlab/elmat/pi.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON