Hi,(adsbygoogle = window.adsbygoogle || []).push({});

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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab: how to extract blocks from a large matrix

Loading...

Similar Threads for Matlab extract blocks |
---|

Binary bitstream from QPSK with MATLAB? |

Python How can I run Python by getting values from Matlab |

What is each step of this Matlab program doing? |

C/++/# Help with MATLAB code? |

Numerical Integration with variable limits MATLAB |

**Physics Forums | Science Articles, Homework Help, Discussion**