[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

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON