confi999
Junior Member level 3
extract block matlab
Hi,
I have a 24000x24000 sparse matrix. I want to extract 4 blocks out of it;
(0,0) to (6000,6000)
(6001,6001) to (12000,12000)
(12001,12001) to (18000,18000)
(18001,18001) to (24000,24000)
By use of those my aim is to make a block diagonal matrix using matlab command 'blkdiag' .
Can anyone please help me with the matlab code to extract those 4 blocks.
Thank you so much.
Hi,
I have a 24000x24000 sparse matrix. I want to extract 4 blocks out of it;
(0,0) to (6000,6000)
(6001,6001) to (12000,12000)
(12001,12001) to (18000,18000)
(18001,18001) to (24000,24000)
By use of those my aim is to make a block diagonal matrix using matlab command 'blkdiag' .
Can anyone please help me with the matlab code to extract those 4 blocks.
Thank you so much.