Question: generating matrix code

hi frndz...i want to generate a matrix of order n x n in maple through loops..for example if equation is 
rUi-1,j+1 -2rUi,j+1 +rUi+1,j+1 = rUi-1,j -2rUi,j +rUi+1,j

then how to write code that it generates n x n matrix for above equation if at jth level values are known and j+1 level vaules are unknown...

Please Wait...