Problem 2813. Create a block diagonal matrix
Solution Stats
Problem Comments
-
2 Comments
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 Comments
Show commentsProblem Recent Solvers114
Suggested Problems
-
3250 Solvers
-
Find relatively common elements in matrix rows
1747 Solvers
-
5077 Solvers
-
443 Solvers
-
101 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!