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
37164 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14307 Solvers
-
388 Solvers
-
Replace Nonzero Numbers with 1
457 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
161 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.