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
-
Select every other element of a vector
36218 Solvers
-
Find the largest value in the 3D matrix
1666 Solvers
-
473 Solvers
-
778 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
261 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.