With out loops there are two ways,
1. do the assignments manually like
make a matrix h of 4x4 from h11, h22 etc. taking each as row and then take i=0,
say we want C matrix
C[i,i] = h[i,i];
C[i+1, i] = h[i+1,i];
and so on incrementing i at the right time, THis is one of the with out loop solution.
2. rearrange the h matrixs in more better way so as to use the various matrix manupulaiton commands like cat , diagonal etc.
But truely speaking none of this is as generalised as using the loop, coz then only you can get most general solution for any type of matrix. loops like while, for etc. are excelent for this purpose.
If any other solution came to you r mind then please share, I really want to know how to generate this matrix generally. Also the algorithm can be varied on the fact that how this h matrix is getting generated, may be modifiying the output we can direclty take them into one bigger matrix :)
Sent from Mumbai, MH, India