for x as the input =
[ 8 7 9
8 2 4
3 2 6
7 5 3]
then output y sould be =
out=[0 0 0 0 0
0 8 7 9 0
0 8 2 4 0
0 3 2 6 0
0 7 5 3 0
0 0 0 0 0]
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers7
Suggested Problems
-
Given a Matrix add a frame of 0's to it
7 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!