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 Solvers588
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3331 Solvers
-
Generate N equally spaced intervals between -L and L
884 Solvers
-
401 Solvers
-
279 Solvers
-
Back to Basics - Find no. of elements in a matrix?
314 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!