Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
peta = 40;
nano_correct = 7.5;
assert(isequal(round(peta_to_nano(peta)*1000)/1000,nano_correct))
ans =
7.5000
|
2 | Pass |
%%
peta = 250;
nano_correct = 1.2;
assert(isequal(round(peta_to_nano(peta)*10)/10,nano_correct))
ans =
1.2000
|
5703 Solvers
Sum of diagonal of a square matrix
1327 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
334 Solvers
2538 Solvers
555 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!