$$X_1= \mathbb{1}_{[0,1]} $$ $$X_2= \mathbb{1}_{[0,\frac{1}{2}]}, X_3= \mathbb{1}_{[\frac{1}{2},1]}, $$ $$X_4= \mathbb{1}_{[0,\frac{1}{3}]}, X_5= \mathbb{1}_{[\frac{1}{3},\frac{2}{3}]}, X_6= \mathbb{1}_{[\frac{2}{3},1]}, $$
I need plot this function, what is the correct way to compute this result from Mathematica?
Plot[{1}, {x, 0, 1}]
I have simple function, but I don't know how plot of $X_2= \mathbb{1}_{[0,\frac{1}{2}]}$ for interval $[0,1]$. Also I am interesting about representing of few function on the same image.
UnitStep
orSquareWave
. $\endgroup$