Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 3;
y_correct = [0 1 0;
1 1 1;
0 1 0 ];
assert(isequal(drawCross(x),y_correct))
|
2 | Pass |
x = 5;
y_correct = [0 0 1 0 0;
0 0 1 0 0;
1 1 1 1 1;
0 0 1 0 0;
0 0 1 0 0]
assert(isequal(drawCross(x),y_correct))
y_correct =
0 0 1 0 0
0 0 1 0 0
1 1 1 1 1
0 0 1 0 0
0 0 1 0 0
|
Arrange Vector in descending order
1812 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
209 Solvers
Create a square matrix of multiples
330 Solvers
Sum of diagonals elements of a matrix
132 Solvers
103 Solvers