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.
psy week 3 assignment 2
January 29, 2019
The effects of perception, attention, and encoding on performance
January 29, 2019

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.

 

Looking for a Similar Assignment? Order now and Get 20% Discount!
Use Code; GET20

WhatsApp Chat with us on Whatsapp