This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
d = 1;
b = '1';
assert(isequal(dec2bin_fractions(d),b))
Error: Undefined function 'dec2bin_fractions' for input arguments of type 'double'.
|
2 | Fail |
%%
d = 2.5;
b = '10.1';
assert(isequal(dec2bin_fractions(d),b))
Error: Undefined function 'dec2bin_fractions' for input arguments of type 'double'.
|
3 | Fail |
%%
d = 34.125;
b = '100010.001';
assert(isequal(dec2bin_fractions(d),b))
Error: Undefined function 'dec2bin_fractions' for input arguments of type 'double'.
|
4 | Fail |
%%
d = 452.8125;
b = '111000100.1101';
assert(isequal(dec2bin_fractions(d),b))
Error: Undefined function 'dec2bin_fractions' for input arguments of type 'double'.
|
1263 Solvers
Construct a string from letters and counts
128 Solvers
120 Solvers
208 Solvers
Side of an equilateral triangle
2595 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!