Looks like the image toolbox still isn't available on Cody. Otherwise, padarray would be perfect for this one.
5739 Solvers
10097 Solvers
901 Solvers
Flip the main diagonal of a matrix
509 Solvers
Number of digits in an integer
338 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!