How to do this little hack ?
a=10;
b=5;
y=change_var(a,1);
assert(isequal(a,1))
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers12
Suggested Problems
-
424 Solvers
-
Sum all integers from 1 to 2^n
18209 Solvers
-
Determine Whether an array is empty
819 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1288 Solvers
-
07 - Common functions and indexing 6
468 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!