Boxcar Function
Boxcar
The function
| Pi_(a,b)(x)=H(x-a)-H(x-b) |
which is equal to 1 for a<=x<=b and 0 otherwise. Here H(x) is the Heaviside step function. The special case Pi_(-1/2,1/2)(x) gives the unit rectangle function.
See also
Heaviside Step Function, Rectangle Function, Square WaveExplore with Wolfram|Alpha
WolframAlpha
More things to try:
References
von Seggern, D. CRC Standard Curves and Surfaces. Boca Raton, FL: CRC Press, p. 324, 1993.Referenced on Wolfram|Alpha
Boxcar FunctionCite this as:
Weisstein, Eric W. "Boxcar Function." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/BoxcarFunction.html