Boxcar function

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description

File:Boxcar function.svg
A graphical representation of a boxcar function

In mathematics, a boxcar function is any function which is zero over the entire real line except for a single interval where it is equal to a constant, A.[1] The function is named after its graph's resemblance to a boxcar, a type of railroad car. The boxcar function can be expressed in terms of the uniform distribution as boxcar(x)=(ba)Af(a,b;x)=A(H(xa)H(xb)), where f(a,b;x)Script error: No such module "Check for unknown parameters". is the uniform distribution of x for the interval Template:Closed-closed and H(x) is the Heaviside step function. As with most such discontinuous functions, there is a question of the value at the transition points, which are usually best chosen depending on the individual application.

When a boxcar function is selected as the impulse response of a filter, the result is a simple moving average filter, whose frequency response is a sinc-in-frequency, a type of low-pass filter.

See also

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

Template:Asbox