home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / educ / math / 015 / signals.doc < prev    next >
Encoding:
Text File  |  1993-05-01  |  4.8 KB  |  139 lines

  1.  
  2.   ----------------           SIGNALS        ----------------------
  3.  
  4.       A PROGRAM TO ILLUSTRATE THE CONCEPTS OF COMPLEX NUMBERS, 
  5.         DIGITAL SIGNAL PROCESSING, AND LINEAR SYSTEMS.
  6.  
  7.               copyright 1993  Dr. Roger L. Easton, Jr. 
  8.  
  9.   ----------------------------------------------------------------
  10.  
  11.  
  12. *STARTING SIGNALS*
  13.  
  14.  
  15. SIGNALS checks for CGA, EGA, and VGA graphics and uses the highest
  16. resolution available. 
  17.  
  18. To run on CGA, EGA, or VGA COLOR systems, type: SIGNALS/C.
  19.  
  20. On CGA, EGA, or VGA MONOCHROME systems, type: SIGNALS/M.
  21.  
  22. If color/monochrome switch is not used, the program asks whether the
  23. system has a color or monochrome monitor.
  24.  
  25. To run SIGNALS with a HERCULES graphics card, the HERCULES graphics
  26. driver 'msherc.com' must be run first. The color/monochrome switch is not 
  27. needed on HERCULES.
  28.  
  29. On my own system, I renamed SIGNALS.EXE to SIGNALS1.EXE and wrote a
  30. short batch program SIGNALS.BAT which loads the program with the proper
  31. switch.
  32.  
  33. Sample batch programs are:
  34.  
  35. for HERCULES graphics:
  36.  
  37.      \path1\MSHERC.COM
  38.      \path2\SIGNALS1.EXE
  39.  
  40.      where:
  41.            \path1\ specifies subdirectory where MSHERC.COM is stored
  42.            \path2\ specifies subdirectory for SIGNALS1.EXE
  43.  
  44. for CGA, EGA, or VGA color systems:
  45.      \path2\SIGNALS1.EXE/C
  46.  
  47. for CGA, EGA, or VGA monochrome systems:
  48.      \path2\SIGNALS1.EXE/M
  49.  
  50.  
  51. *RUNNING SIGNALS*
  52.  
  53.  
  54. SIGNALS is built around four menus (FUNCTION, OPERATIONS, ARITHMETIC,
  55. PLOTTING) that are connected to the MAIN menu via the ESCAPE key. Up to two
  56. complex arrays are loaded with the FUNCTION menu and processed with the
  57. OPERATIONS and ARITHMETIC menus.  The results can be viewed with the
  58. PLOT menu. Hardcopy is possible using 'Print Screen' or saving the data
  59. in a spreadsheet array.
  60.  
  61. The program can be run under Windows if SIGNALS.PIF is created and the
  62. graphics memory is increased. Plots can be captured to the Windows
  63. clipboard by typing 'shift - Print Screen'.
  64.  
  65. The arrays may be indexed over the intervals [0, N-1] or 
  66. [-N/2, N/2-1] (default). The choice is made in the MAIN menu ("I" option)
  67. and any transforms are computed differently in the two cases according to
  68. convention. Load data into ARRAYS f1 or f2 from the FUNCTION MENU.
  69.  
  70. Functions are loaded in the order:
  71.  
  72.      1.      REAL PART (or MAGNITUDE)
  73.      2.      Modulation of Real Part
  74.      3.      IMAGINARY PART (or Phase)
  75.      4.      Modulation of Imaginary part.
  76.  
  77. Any step may be bypassed by typing carriage return, and the loading 
  78. procedure may be completed at any time by typing ESCAPE.
  79.  
  80. Please note that all operations assume that the arrays are in
  81. REAL/IMAGINARY format; if you have loaded arrays in MAGNITUDE/PHASE
  82. format, you should immediately convert them via option "R" in the
  83. OPERATIONS menu. Arrays in SIGNALS are be saved to, and loaded from disk in
  84. the following ASCII format:
  85.  
  86.  
  87. First element                 number of samples N (integer - power of 2)
  88.  
  89. Elements 2 through N+1        real array (N floating point values)
  90.  
  91. Elements N+2 through 2N+1     imaginary array (N floating point values)
  92.  
  93.  
  94.  
  95. Data from other applications can be loaded into SIGNALS if it is edited 
  96. accordingly.
  97.  
  98. Arrays can also be loaded and saved in a generic spreadsheet format which
  99. contains three columns: the sample index, the real floating point value
  100. and the imaginary floating point value.
  101.  
  102. OPERATIONS are performed on a single array; they include FFT, DFT,
  103. Hartley Transform, Walsh-Hadamard transform, complex conjugate, etc.
  104.  
  105. The ARITHMETIC menu combines the two arrays, e.g. sum, product, difference
  106. ratio, convolution etc.
  107.  
  108. The PLOT menu is used to display the data as REAL/IMAGINARY parts, as
  109. MAGNITUDE/PHASE, POWER (squared magnitude), Power in Decibels, or as
  110. ARGAND diagrams (Imaginary part vs. Real Part). The VALUES of the data
  111. arrays may also be displayed, and the VALUES display may be magnified
  112. via the ZOOM option.
  113.  
  114.  
  115. *REGISTRATION*
  116.  
  117. If you find SIGNALS to be useful and use it regularly, please register
  118. your copy by sending your name, address, and $20 (check or money order) to
  119. the address below.  SIGNALS was developed for use in graduate classroom 
  120. instruction over a period of several years. Many long hours went into
  121. refining this program for public release.  Your registration fee will be
  122. greatly appreciated and will expedite the release of future versions.
  123.  
  124. This program may be freely copied or posted on a BBS provided that all
  125. three files are included in their original form with the copyright and
  126. registration notices.
  127.  
  128. Please send the registration fee and any comments or suggestions to:
  129.  
  130. Dr. Roger L. Easton, Jr.
  131. Center for Imaging Science 
  132. Rochester Institute of Technology 
  133. Rochester, NY 14623
  134.  
  135. (716) 475-5969 (office)
  136. (716) 475-5988 (FAX)
  137. email -- in%"rlepci@ritvax.isc.rit.edu"
  138.  
  139.