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
-
The Goldbach Conjecture, Part 2
2417 Solvers
-
Detect a number and replace with two NaN's
200 Solvers
-
Reverse the elements of an array
1136 Solvers
-
Who has power to do everything in this world?
489 Solvers
-
742 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!