Question: Sparse matrix, band matrix

Dear all

I need your help to create a band matrix of n block,   and each block of the matrix is given by:

A=[[1,2,3];[2,1,3]; [3,2,1]]:

Thanks for your help

 

 

Please Wait...