Looks like the image toolbox still isn't available on Cody. Otherwise, padarray would be perfect for this one.
Maximum running product for a string of numbers
1113 Solvers
Sum of diagonal of a square matrix
1327 Solvers
Switch matrix to a column vector
260 Solvers
516 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!