Problem 1924. Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros.
Example:
If input is m=2 and n=3 then
A = [ 0 0 0 0 0 0 ]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers489
Suggested Problems
-
First non-zero element in each column
858 Solvers
-
409 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1072 Solvers
-
07 - Common functions and indexing 3
412 Solvers
-
891 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!