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 Solvers640
Suggested Problems
-
Remove any row in which a NaN appears
8760 Solvers
-
How to find the position of an element in a vector without using the find function
2806 Solvers
-
Who has power to do everything in this world?
481 Solvers
-
517 Solvers
-
Rounding off numbers to n decimals
5474 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!