Rectangular function

1

The rectangular function (also known as the rectangle function, rect function, Pi function, Heaviside 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. Its periodic version is called a rectangular wave.

History

The rect function has been introduced by Woodward in as an ideal cutout operator, together with the sinc function as an ideal interpolation operator, and their counter operations which are sampling (comb operator) and replicating (rep operator), respectively.

Relation to the boxcar function

The rectangular function is a special case of the more general boxcar function: where H(x) is the Heaviside step function; the function is centered at X and has duration Y, from X-Y/2 to X+Y/2.

Fourier transform of the rectangular function

The unitary Fourier transforms of the rectangular function are using ordinary frequency f, where sinc function is the normalized form of the sinc function and using angular frequency \omega, where sinc function is the unnormalized form of the sinc function. For, its Fourier transform isNote that as long as the definition of the pulse function is only motivated by its behavior in the time-domain experience, there is no reason to believe that the oscillatory interpretation (i.e. the Fourier transform function) should be intuitive, or directly understood by humans. However, some aspects of the theoretical result may be understood intuitively, as finiteness in time domain corresponds to an infinite frequency response. (Vice versa, a finite Fourier transform will correspond to infinite time domain response.)

Relation to the triangular function

We can define the triangular function as the convolution of two rectangular functions:

Use in probability

Viewing the rectangular function as a probability density function, it is a special case of the continuous uniform distribution with The characteristic function is and its moment-generating function is where \sinh(t) is the hyperbolic sine function.

Rational approximation

The pulse function may also be expressed as a limit of a rational function:

Demonstration of validity

First, we consider the case where Notice that the term (2t)^{2n} is always positive for integer n. However, 2t<1 and hence (2t)^{2n} approaches zero for large n. It follows that: Second, we consider the case where Notice that the term (2t)^{2n} is always positive for integer n. However, 2t>1 and hence (2t)^{2n} grows very large for large n. It follows that: Third, we consider the case where We may simply substitute in our equation: We see that it satisfies the definition of the pulse function. Therefore,

Dirac delta function

The rectangle function can be used to represent the Dirac delta function \delta (x). Specifically,For a function g(x), its average over the width a around 0 in the function domain is calculated as, To obtain g(0), the following limit is applied, and this can be written in terms of the Dirac delta function as, The Fourier transform of the Dirac delta function \delta (t) is where the sinc function here is the normalized sinc function. Because the first zero of the sinc function is at f = 1 / a and a goes to infinity, the Fourier transform of \delta (t) is means that the frequency spectrum of the Dirac delta function is infinitely broad. As a pulse is shorten in time, it is larger in spectrum.

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

Edit article