Problem 42346. Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
Solution Stats
Problem Comments
-
2 Comments
bainhome
on 1 Jun 2015
please recheck your testsuite.ps:may I suggest you finish some problems by yourself before you create one.because this kinda problem had been repeated like hundreds times.we really tired of seeing this.
Ned Gulley
on 17 Jun 2015
I fixed the problem in the test suite.
Solution Comments
Show commentsProblem Recent Solvers635
Suggested Problems
-
Matrix indexing with two vectors of indices
765 Solvers
-
Get the length of a given vector
12614 Solvers
-
1169 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
259 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1637 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!