Looks like the image toolbox still isn't available on Cody. Otherwise, padarray would be perfect for this one.
Back to basics 23 - Triangular matrix
638 Solvers
Make a random, non-repeating vector.
3018 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3899 Solvers
598 Solvers
938 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!