Question on the step-wise function

26 Views Asked by At

I have a question regarding the stepwise function properties.

I have the stepwise function on the uniform grid:

\begin{equation}\label{step} f(t)=\begin{cases} 2, \ \ \ \ -2<t<-1 \\ 1, \ \ \ \ -1<t<0 \\ 2, \ \ \ \ 0<t<1 \\ 3, \ \ \ \ 1<t<2 \end{cases} \end{equation} which I plot on the re-scaled interval $[-\pi,\pi]$ is shown in Fig. 6.

In order to explain the indicator function, I add each intervals by the coordinates (circled in red).

They overlap, as you can see. Is this correct? Because I don't get the same as on wikipedias page:

https://en.wikipedia.org/wiki/Step_function

Thanks

enter image description here