MATLAB: Parse error at ‘=’

line 10

Best Answer

The = operator performs assignment.
The == operator performs equality testing.