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 Solvers11
Suggested Problems
-
3039 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2005 Solvers
-
Return the first and last characters of a character array
12037 Solvers
-
07 - Common functions and indexing 3
427 Solvers
-
989 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!