I need to combine those three martix into a single big one. How do I do that?

2 views (last 30 days)

Accepted Answer

Voss
Voss on 9 Mar 2023

More Answers (1)

David Hill
David Hill on 9 Mar 2023
blkdiag(randi(10,2),randi(10,2),randi(10,2))
ans = 6×6
8 9 0 0 0 0 8 7 0 0 0 0 0 0 2 6 0 0 0 0 1 4 0 0 0 0 0 0 4 8 0 0 0 0 10 9

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!