Rounding using 'fix'... possibly a bug?
Could someone tell me if this is a bug, or is there some logical reason 'fix' would round:
|.3/.1 = 2|
whereas
|.4/...
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...