Let $V_j=\{f\in L^2(\mathbb{R}): f$ is constant on $[\frac{n}{2^j},\frac{n+1}{2^{j}}) $for all $ n \in\mathbb{Z}\}$ , $j\in\mathbb{Z}$ be a sub set of $L^2(\mathbb{R}).$ Prove that $V_j$ is an closed linear subspace of $L^2(\mathbb{R})$.
Attempt: I proved the set is linear space. To prove the closed. I took the sequence $f_n$ in $V_j$ such that $f_n$ converges to $f$. I want to prove $f$ is in $V_j$. That is i want to prove $f$ is constant on $[\frac{n}{2^j},\frac{n+1}{2^{j}}).$ I don't know to how to proceed help me!