Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = [1 0 1 0 1 0]; B=ones(1,6);
y_correct = [1 0 1 0 1 0];
assert(isequal(your_fcn_name(A,B),y_correct))
|
2 | Pass |
A = [-1 2 3 4 5 3]; B=zeros(1,6);
y_correct = zeros(1,6);
assert(isequal(your_fcn_name(A,B),y_correct))
|
3 | Pass |
A = [0 2 0 4 5 3]; B=[1 2 3 4 9 -6];
y_correct = [0 2 0 4 9 -6];
assert(isequal(your_fcn_name(A,B),y_correct))
|
Return a list sorted by number of occurrences
1504 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
546 Solvers
369 Solvers
Add a row of zeros on top of a matrix
193 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!