Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [60 100];
y_correct = 75;
assert(isequal(avg_speed(x),y_correct))
ans =
[]
|
2 | Pass |
x = [40 60];
y_correct = 48;
assert(isequal(avg_speed(x),y_correct))
ans =
[]
|
3 | Pass |
x = [20 60];
y_correct = 30;
assert(isequal(avg_speed(x),y_correct))
ans =
[]
|
4 | Pass |
x = [20 80];
y_correct = 32;
assert(isequal(avg_speed(x),y_correct))
ans =
[]
|
Increment a number, given its digits
562 Solvers
376 Solvers
323 Solvers
07 - Common functions and indexing 6
348 Solvers
2316 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!