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 Solvers587
Suggested Problems
-
Remove any row in which a NaN appears
8649 Solvers
-
4356 Solvers
-
1406 Solvers
-
Replace multiples of 5 with NaN
449 Solvers
-
568 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!