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

  1. function w = hanning(n)
  2. %HANNING HANNING(N) returns the N-point Hanning window in a column vector.
  3. w = .5*(1 - cos(2*pi*(1:n)'/(n+1)));
  4.  
  5.