Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1:10;
y_correct = 1:10;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = [16 2 3 -3;
5 -11 10 8;
9 -7 6 12;
4 14 -15 1];
y_correct = [ 16 ; 5 ; 9 ; 4 ; 2 ; 14 ; 3 ; 10 ; 6 ; 8 ; 12 ; 1];
assert(isequal(your_fcn_name(x),y_correct))
y =
16
5
9
4
2
14
3
10
6
8
12
1
|
434 Solvers
309 Solvers
573 Solvers
Matlab Basics - Assigning Variables
146 Solvers
228 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!