I am wondering if there is a way to formulate or generate a matrix $X \in R^{n\times n}$ whose column vectors $\{x_1,\dotsc,x_i,\dotsc,x_n\}$ are such that $x_i$ and $x_j$ are orthogonal iff $\lvert i-j\rvert>m$. The matrix $X^T X$ would be a band matrix with zeros off-band. I do not have a particular requirement for $x_i \cdot x_j$ when $\lvert i-j\rvert\le m$ other than being non-zero. I do require, however, that all vectors are distinct.
One example of $X$ would be a band matrix with bandwidth $2m+1$ and zero off-band. However, I am looking for a more general formula. I would like to somehow link it to SVD, but I am not sure how to. Any ideas would be appreciated!