MATLAB Cody - MATLAB Central

Problem 44887. Given a matrix A (size m x n) create a matrix B (size m+2 x n+2) which consists of matrix A surrounded by zeros. See Example below:

Solution 1807665

Submitted on 6 May 2019 by bentzi grinfeld
This solution is locked. To view this solution, you need to solve the problem first.
Go to top of page