Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
m = '1B';
n='10';
y_correct = '2B';
assert(isequal(hex_add(m,n),y_correct))
|
2 | Pass |
%%
m = '1B0';
n='10';
y_correct = '1C0';
assert(isequal(hex_add(m,n),y_correct))
|
3 | Pass |
%%
m = '1B0';
n='F';
y_correct = '1BF';
assert(isequal(hex_add(m,n),y_correct))
|
4 | Pass |
%%
m = '1B0';
n='F';
y_correct = '1BF';
assert(isequal(hex_add(m,n),y_correct))
|
5 | Pass |
%%
m = '25';
n='25';
y_correct = '4A';
assert(isequal(hex_add(m,n),y_correct))
|
Find the sum of all the numbers of the input vector
31971 Solvers
312 Solvers
First non-zero element in each column
593 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
511 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!