Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 10;
flagSame = isequal(makeRandomOrdering(n), makeRandomOrdering(n));
flagAllUsed = isequal([1:n],sort(makeRandomOrdering(n)));
assert(~flagSame & flagAllUsed)
|
1143 Solvers
434 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
277 Solvers
281 Solvers
424 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!