Problem 1802. 03 - Matrix Variables 6
Make fMat be a 5x3 matrix of random integers with values from -3 to 3
(Hint: use randi)
Solution Stats
Problem Comments
-
1 Comment
David Verrelli
on 14 Apr 2018
Test for randomness could be tightened (cf. Solution 1490988).
Solution Comments
Show commentsProblem Recent Solvers584
Suggested Problems
-
27993 Solvers
-
Increment a number, given its digits
655 Solvers
-
Getting the absolute index from a matrix
247 Solvers
-
Remove the two elements next to NaN value
655 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
828 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!