Is it possible in Matlab to increment a value of a variable without restating it on the right hand side of the statement?
MatLab doesn't have compound assignment, but the open-source clone Octave does.
Source: http://hyperpolyglot.org/numerical-analysis