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));
|
Convert a vector into a number
442 Solvers
Getting the indices from a vector
1443 Solvers
find the roots of a quadratic equation
124 Solvers
325 Solvers
Matlab Basics II - Velocity of a particle
118 Solvers