[Solved] An external frame of zeroes
An external frame means that you have to add two rows/columns each (left and right/ upper and lower), so you need to increase the size of your new matrix by an additional row and column. The loops for setting the frame to 0 were fine. At the last inner loop you set the reduced size … Read more