Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = -3;
y_correct = 101;
assert(isequal(quad1(x),y_correct))
|
2 | Pass |
x = 5;
y_correct = 285;
assert(isequal(quad1(x),y_correct))
|
Getting the indices from a vector
3206 Solvers
Determine the number of odd integers in a vector
435 Solvers
185 Solvers
07 - Common functions and indexing 4
319 Solvers
274 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!