Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = [2; 3];
y_correct = [1; 0];
assert(isequal(calcTrend(x),y_correct))
|
2 | Fail |
x = [2; 2];
y_correct = [1; 0];
assert(isequal(calcTrend(x),y_correct))
|
3 | Fail |
x = [2; 2];
y_correct = [1; 0];
assert(isequal(calcTrend(x),y_correct))
|
4 | Fail |
x = [2; 3; 0; 1; 2; 2; 1; 5; 6; 3];
y_correct = [1; 0; 1; 1; 1; 0; 1; 1; 0; 0];
assert(isequal(calcTrend(x),y_correct))
|
2501 Solvers
284 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
420 Solvers
Matlab Basics II - Max & Index of Max
188 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!