Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [0,0,0.0001];
y_correct = '000000';
assert(isequal(rgb2hex(x),y_correct))
|
2 | Pass |
x = [1,1,1];
y_correct = 'FFFFFF';
assert(isequal(rgb2hex(x),y_correct))
|
3 | Pass |
x = [.5,.5,.2];
y_correct = '7F7F33';
assert(isequal(rgb2hex(x),y_correct))
|
594 Solvers
309 Solvers
Getting the absolute index from a matrix
211 Solvers
Given a window, how many subsets of a vector sum positive
743 Solvers
249 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!