This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 5;
y_correct = [25 24 23 22 21;10 9 8 7 20;11 2 1 6 19;12 3 4 5 18;13 14 15 16 17];
assert(isequal(your_fcn_name(n),y_correct))
y =
25 24 23 22 21
10 9 8 7 20
11 2 1 6 19
12 3 4 5 18
13 14 15 16 17
|
1610 Solvers
498 Solvers
Square wave average calculation
72 Solvers
264 Solvers
Matlab Basics II - Create a vector with a repeated entry
137 Solvers