home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l455 / 8.ddi / SIGNAL.DI$ / BLACKMAN.M < prev    next >
Encoding:
Text File  |  1993-03-11  |  160 b   |  5 lines

  1. function w = blackman(n)
  2. %BLACKMAN BLACKMAN(N) returns the N-point Blackman window.
  3. w = (.42 - .5*cos(2*pi*(0:n-1)/(n-1)) + .08*cos(4*pi*(0:n-1)/(n-1)))';
  4.  
  5.