Question: Adding matrix diagonally

Hi I have a number of 3x3 matrix which i want to combine into one big matrix. But I need to add the end of the first matrix with the start of the second matrix, the end of the second matrix with the start of the third matrix and so on, forming a big diagonal matrix. May I know how can I do that?

for example : my Matrix will need to consist : M111M112M113,M121M122M123,M131M132(M133 +M211)...

 

 

Please Wait...