PO_matlab
|
Generates a rectangular window with tapered edges. More...
Functions | |
function | rectwindow (in d, in h, in n) |
Generates a rectangular window with tapered edges.
Constructs a symmetric 1D window of length n, where the center region has full amplitude (1) and the left and right edges are tapered down to a height h over a width defined by d.
d | Width of taper transition (0 < d < 0.5) |
h | Edge height (0 < h < 1) |
n | Total number of samples in the window |
val | Output rectangular window as a 1D array |
function rectwindow | ( | in | d, |
in | h, | ||
in | n ) |