Problem 2813. Create a block diagonal matrix
43.93% Correct | 56.07% Incorrect
Last Solution submitted on Jun 01, 2023
Masato Kanematsu on 1 Oct 2020
If you know a function which is used to create a matrix, you can solve this problem easily !
Dyuman Joshi on 27 Dec 2020
I thought you referred to the function blkdiag(), but I am surprised to know that it is not the case (for a one-liner)!
Solution CommentsShow comments
Problem Recent Solvers114
Find relatively common elements in matrix rows
More from this Author1
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!