If you know a function which is used to create a matrix, you can solve this problem easily !
I thought you referred to the function blkdiag(), but I am surprised to know that it is not the case (for a one-liner)!
Back to basics 19 - character types
225 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
334 Solvers
207 Solvers
58 Solvers
Natural numbers in string form
349 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!