Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
[x,y] = swap_vars(5,10);
assert(isequal(x,10));
assert(isequal(y,5));
|
2 | Pass |
[x,y] = swap_vars('hello','bye');
assert(isequal(x,'bye'));
assert(isequal(y,'hello'));
|
3 | Pass |
[x,y] = swap_vars(5,'hello');
assert(isequal(x,'hello'));
assert(isequal(y,5));
|
900 Solvers
Back to basics 25 - Valid variable names
293 Solvers
511 Solvers
Matlab Basics - Logical Tests I
193 Solvers
Compute LOG(1+X) in natural log
204 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!