What is the equivalent to += in Matlab?

前端 未结 2 1095
傲寒
傲寒 2020-12-03 20:41

Is it possible in Matlab to increment a value of a variable without restating it on the right hand side of the statement?

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-03 21:21

    MatLab doesn't have compound assignment, but the open-source clone Octave does.

    Source: http://hyperpolyglot.org/numerical-analysis

提交回复
热议问题