Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 12358466243;
y_correct = 12358470000;
assert(isequal(round_ten_thou(x),y_correct))
y =
1.2358e+10
|
2 | Pass |
x = 12358466243.325;
y_correct = 12358470000.000;
assert(isequal(round_ten_thou(x),y_correct))
y =
1.2358e+10
|
316 Solvers
347 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
281 Solvers
2036 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!