Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
y1=[0 1 2 3 4]'
y2=-[2 3 4 5 6]'
y_correct = -1;
assert(isequal(mycorr(y1,y2),y_correct))
y1 =
0
1
2
3
4
y2 =
-2
-3
-4
-5
-6
|
2 | Fail |
y1=[0 1 2 3 4]'
y2=[2 3 4 5 6]'
y_correct = 1;
assert(isequal(mycorr(y1,y2),y_correct))
y1 =
0
1
2
3
4
y2 =
2
3
4
5
6
|
263 Solvers
Who knows the last digit of pi?
488 Solvers
348 Solvers
Find sum of negative elements in row.
44 Solvers
Remove all the columns contains only zero
30 Solvers