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 Solvers570
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6129 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15467 Solvers
-
6204 Solvers
-
1876 Solvers
-
Compute a dot product of two vectors x and y
977 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!