Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 1;
assert(isequal(arr(x),y_correct))
|
2 | Pass |
x = 3;
y_correct = [1 0; 0 1; 1 0];
assert(isequal(arr(x),y_correct))
|
3 | Pass |
x = 5;
y_correct = [1 0 0; 0 1 0; 0 0 1; 0 1 0; 1 0 0];
assert(isequal(arr(x),y_correct))
|
201 Solvers
Find the "ordinary" or Euclidean distance between A and Z
137 Solvers
Back to basics 13 - Input variables
233 Solvers
463 Solvers
Returning a "greater than" vector
188 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!