Talk:Boxcar function

Image
The image provided could use labels denoting where a and b are located on the x axis and a little more on the meaning of A. How is A defined?RRphys 14:35, 28 September 2007 (UTC)


 * I've replaced the old image with a new SVG one for easier editing. I've added labels on the y-axis, but I'm also not entirely sure where a and b labels should go, so I left those out for now.  If anyone lets me know I can add them to the diagram easily. --Qef (talk) 00:46, 2 July 2008 (UTC)


 * a is the x-axis label for the left-most part of the function when the function when it equals the value A. b is the x-axis label for the right-most part of the function when it equals A. That is,



a = \arg\min_{x \in [a,b]}f(x)\, $$



b = \arg\max_{x \in [a,b]}f(x)\,. $$


 * --Tekhnofiend (talk) 17:34, 5 July 2008 (UTC)

Mentioning the uniform distribution is misleading
The boxcar function is a function, not a probability distribution. It cannot be expressed "in terms of the uniform distribution" as the article says. Maybe it can be expressed in terms of the probability density function (pdf) of a uniformly distributed random variable. Even better would be to just give the formula and say that the pdf of a uniform random variable is a boxcar function. — Preceding unsigned comment added by 129.187.109.117 (talk) 15:05, 15 December 2020 (UTC)

Simplicity
I think it should important to note that:

\text{boxcar}(x) = \begin{cases} A & \text{for } a \leq x \leq b \\ 0 & \text{otherwise} \end{cases} $$ The relation with Heaviside step function is interesting and should be noted, but simple descriptions of functions are better for sake of mathematics and programming. Anderson Pozzi (talk) 16:52, 23 June 2024 (UTC)