PO_matlab
rectwindow.m File Reference

Generates a rectangular window with tapered edges. More...

Functions

function rectwindow (in d, in h, in n)

Detailed Description

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.

Parameters
dWidth of taper transition (0 < d < 0.5)
hEdge height (0 < h < 1)
nTotal number of samples in the window
Return values
valOutput rectangular window as a 1D array

Function Documentation

◆ rectwindow()

function rectwindow ( in d,
in h,
in n )
Here is the call graph for this function:
Here is the caller graph for this function: