Problem 2948. Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers84
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6670 Solvers
-
393 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
883 Solvers
-
Replace multiples of 5 with NaN
465 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
158 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!