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 Stats

32.89% Correct | 67.11% Incorrect
Last Solution submitted on Jul 07, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers152

Suggested Problems

More from this Author4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!