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))
|
4106 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
Determine Whether an array is empty
646 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
2770 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!