*** Welcome to piglix ***

Rectangular function


The rectangular function (also known as the rectangle function, rect function, Pi function, gate function, unit pulse, or the normalized boxcar function) is defined as:

Alternative definitions of the function define to be 0, 1, or undefined.

The rectangular function is a special case of the more general boxcar function:

Where u is the Heaviside function; the function is centered at X and has duration Y, from X-Y/2 to X+Y/2.

Another example is this: rect((t - (T/2)) / T ) goes from 0 to T, so in terms of Heaviside function u(t) - u((t-T) / T )

The unitary Fourier transforms of the rectangular function are

using ordinary frequency f, and

using angular frequency ω, where is the unnormalized form of the sinc function.


...
Wikipedia

...