In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
12 months ago
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...
Join the conversation