home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / examples / doc / sigprc01 < prev    next >
Encoding:
Text File  |  1997-07-08  |  517 b   |  11 lines

  1. ; This batch file creates a simulated signals used in the examples
  2. ; in Chapter 13, "Signal Processing", of _Using IDL_.
  3.  
  4. N = 1024                      ; number of time samples in data set
  5. delt = 0.02                   ; sampling interval in seconds
  6.  
  7. U = -0.3 $                                    ;  DC component
  8.    + 1.0 * Sin(2*!Pi* 2.8 *delt*FIndGen(N)) $ ;  2.8  c/s component
  9.    + 1.0 * Sin(2*!Pi* 6.25*delt*FIndGen(N)) $ ;  6.25 c/s component
  10.    + 1.0 * Sin(2*!Pi*11.0 *delt*FIndGen(N))   ; 11.0  c/s component
  11.