Looks like the image toolbox still isn't available on Cody. Otherwise, padarray would be perfect for this one.
231 Solvers
Find the sum of the elements in the "second" diagonal
999 Solvers
Change the sign of even index entries of the reversed vector
305 Solvers
262 Solvers
Replace every 3rd element in a vector with 4
173 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!