I am new to Matlab. In Python, you can easily change elements.
x, y = 5, 10
x, y = y, x
Is there something similar in Matlab (or in Octave / Scilab)? Otherwise, what is the best way to replace elements without using a temporary variable?
source
share