SciLib.SP
Class WindowFunction

java.lang.Object
  extended by SciLib.SP.WindowFunction

public final class WindowFunction
extends java.lang.Object


Constructor Summary
WindowFunction()
           
 
Method Summary
static vector bartlett(int n)
          Bartlett window with n points
static vector hamming(int n)
          Hamming window with n points
static vector hanning(int n)
          Hanning window with n points
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowFunction

public WindowFunction()
Method Detail

hanning

public static vector hanning(int n)
Hanning window with n points

Parameters:
n - An integer value
Returns:
a vector

hamming

public static vector hamming(int n)
Hamming window with n points

Parameters:
n - An integer value
Returns:
a vector

bartlett

public static vector bartlett(int n)
Bartlett window with n points

Parameters:
n - An integer value
Returns:
a vector