Skip to content

Boxcar Window

Sambit Paul edited this page Sep 15, 2020 · 6 revisions

median

Symmetricity paramter is a boolean with the following effect:

  • TRUE : generates a symmetric window, for use in filter design
  • FALSE : generates a periodic window, for use in spectral analysis

The parameters for this window are as follows:

  • Window Length ⇨ 51
Code
int len = 51;

BoxCar w1 = new BoxCar(len); // For symmetric
double[] out = w1.getWindow();

BoxCar w2 = new BoxCar(len, false); // For asymmetric
double[] out = w2.getWindow();
Clone this wiki locally