I am having trouble figuring out how to create the following matrix in Mathematica: aij = 1 if j = i+1, i = 1,…,n-1 1 if j = i-1, i = 2,…,n 0 otherwise A is singular iff n is odd.
I am having trouble figuring out how to create the following matrix in Mathematica: aij = 1 if j = i+1, i = 1,…,n-1 1 if j = i-1, i = 2,…,n 0 otherwise A is singular iff n is odd.