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?