Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A=[1 0;0 1]; X=[3 5];
y_correct = [1 0; 0 1;3 5];
assert(isequal(Add_row(A,X),y_correct))
|
2 | Pass |
A=[1 0 0;0 1 0 ]; X=[1 2 3];
y_correct = [1 0 0;0 1 0;1 2 3];
assert(isequal(Add_row(A,X),y_correct))
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35546 Solvers
Determine Whether an array is empty
646 Solvers
Who has power to do everything in this world?
318 Solvers
462 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!