I get incorrect output (ans = 0) when I run the following code:
x{1} = [1 2 3 4 5]; mySum = sum( (x{1}(1:end)).^2 )1 * sum( (x{1}(1:end)).^2 )
The result must match (ans = 55):
sum( (x{1}(1:end)).^2 )
The only difference is the 1 which is pre multiplied.
This appears to be an error in the parsing mechanism.
Best Answer