Prev Next blackharris3

Blackman-Harris 3 Window Function
Syntax y = blackharris3(N)
Syntax y = blackharris3(N,M)
Include: include spt\blackharris3.oms
See Also Other Window Functions

      N = SCALAR, any numerical type, >=2. Represents the row
          dimension of the requested window. Coerced to INTEGER
          before local processing.
      M = SCALAR, any numerical type, >=1. Represents the column
          dimension of the matrix returned. Coerced to INTEGER
          before local processing.
   RETURN: MATRIX, DOUBLE, N-point Blackman-Harris 3-Term window in
           each column.


Create a N-by-M 3-Term Blackman-Harris data window matrix. This function returns a MATRIX where each column is a Blackman windowing function of row dimension N. Argument M, which is optional, is used to specify the column dimension for a matrix return. M omitted or M=1 returns a column vector. M<1 returns novalue. N value must be 2 or greater or novalue is returned. N and M may be any numerical type and are coerced to INTEGER before local processing. The return type is DOUBLE.

Make and Plot a BLACKMAN-HARRIS 3 window function.

N      = 126;                 # Window length
header = sprintf(": N = %d",N);
header = [name,header];
h      = blackharris3(N);
t      = seq(N)-1d0;


harris, freq j., "Multirate Signal Processing for Communications, Systems", Prentice Hall, Upper Saddle River, NJ, 2004