Looks like the image toolbox still isn't available on Cody. Otherwise, padarray would be perfect for this one.
3986 Solvers
3761 Solvers
Longest run of consecutive numbers
1809 Solvers
Is this triangle right-angled?
2528 Solvers
674 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!