Problem 1958. Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.
Solution Stats
Problem Comments
-
1 Comment
Michael Eldredge
on 1 Apr 2019
I literally copied and pasted a part of the test suite into my code to make it work.
This is not a good thing.
Solution Comments
Show commentsProblem Recent Solvers254
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
50166 Solvers
-
Determine whether a vector is monotonically increasing
21330 Solvers
-
Create a cell array out of a struct
2082 Solvers
-
Who is the smartest MATLAB programmer?
763 Solvers
-
Find the Nth Root of a Given Number
316 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!