Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 5; n = 4;
y_correct = [-5 -2.5 0 2.5 5];
assert(isequal(spaced_intervals(x,n),y_correct))
|
2 | Pass |
x = 9; n = 5;
assert(std(diff(spaced_intervals(x,n)))<1e-10)
|
3377 Solvers
495 Solvers
284 Solvers
480 Solvers
257 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!