Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
g=32; h=10000;
v_correct = 800;
assert(isequal(canon(g,h),v_correct))
|
2 | Pass |
%%
g=32; h=100;
v_correct = 80;
assert(isequal(canon(g,h),v_correct))
|
3 | Pass |
%%
g=32; h=4;
v_correct = 16;
assert(isequal(canon(g,h),v_correct))
|
399 Solvers
376 Solvers
Output any real number that is neither positive nor negative
316 Solvers
Rounding off numbers to n decimals
1050 Solvers
270 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!