Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 12358466243;
y_correct = 12358470000;
assert(isequal(round_ten_thou(x),y_correct))
ans =
1.2358e+10
|
2 | Pass |
x = 12358466243.325;
y_correct = 12358470000.000;
assert(isequal(round_ten_thou(x),y_correct))
ans =
1.2358e+10
|
Duplicate each element of a vector.
518 Solvers
420 Solvers
338 Solvers
302 Solvers
247 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!