Make fMat be a 5x3 matrix of random integers with values from -3 to 3
(Hint: use randi)
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers609
Suggested Problems
-
Swap the first and last columns
22528 Solvers
-
Change the sign of even index entries of the reversed vector
642 Solvers
-
566 Solvers
-
Find the Nth Root of a Given Number
360 Solvers
-
Replace every 3rd element in a vector with 4
264 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!
Test for randomness could be tightened (cf. Solution 1490988).