Problem 1797. 03 - Matrix Variables 1
Make the following variable:

A 9x9 matrix full of 2's
(Hint: use ones or zeros)
Solution Stats
Problem Comments
-
1 Comment
David Verrelli
on 12 Mar 2018
Viable solution code should not be given explicitly within the Test Suite.
Solution Comments
Show commentsProblem Recent Solvers694
Suggested Problems
-
Select every other element of a vector
34634 Solvers
-
652 Solvers
-
876 Solvers
-
Sum the numbers on the main diagonal
594 Solvers
-
Switch matrix to a column vector
362 Solvers
More from this Author26
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!