Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A=[1 2 2 1; 2 2 3 3;2 3 3 4; 1 3 4 4]
c=[1 2 3 4];
d=[2 3 4];
b=[2 3];
a=1;
assert(isequal(create_matrix(a, c, d, b), A))
A =
1 2 2 1
2 2 3 3
2 3 3 4
1 3 4 4
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
213 Solvers
Find out sum of all elements of given Matrix
349 Solvers
299 Solvers
136 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!