Why is this a valid MATLAB query?
3++4
which evaluates to 7. Even more disturbing:
3+-5
evaluates to -2.
Given the following, I expected
3+*5
to evaluate to 15. Instead it throws an error.
Possible resolution related to thewaywewalk's answer to my previous question at Why is a trailing comma in a cell array valid Matlab syntax?
3++++-++5evaluates to -2. Guess-is 'stronger' than+? Weird...-negates the value, while unary+just returns the original value (like multiplying by -1 and 1, respectively)