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 Solvers511
Suggested Problems
-
Find the sum of the elements in the "second" diagonal
1174 Solvers
-
Find the maximum number of decimal places in a set of numbers
3236 Solvers
-
Set the array elements whose value is 13 to 0
1419 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13021 Solvers
-
5357 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!