Create an array with m rows and n columns wherein all entries are assigned the input value x.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers85
Suggested Problems
-
Flip the main diagonal of a matrix
907 Solvers
-
The Answer to Life, the Universe, and Everything
579 Solvers
-
639 Solvers
-
07 - Common functions and indexing 6
468 Solvers
-
248 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Your test suite doesn't test any code provided by the user.
This problem has been updated to be more general with additional test cases.