Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to construct the following matrix

How we can construct the following $n\times n$ matrix $A=(a_{ij})$ such that $a_{ij}=1$ when $j-i\equiv$1 mod $n$; $a_{ij}=-1$ when $j-i\equiv$-1 mod $n$ and $a_{ij}=0$ otherwise. I need for $n=10$.

How to construct the following matrix

How we can construct the following $n\times n$ matrix $A=(a_{ij})$ such that $a_{ij}=1$ $a_{ij}= 1$ when $j-i\equiv$1 mod $n$; $a_{ij}=-1$ $a_{ij}= -1$ when $j-i\equiv$-1 mod $n$ and $a_{ij}=0$ otherwise. I need for $n=10$. $n=10$.