This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 1;
assert(isequal(square(x),y_correct))
|
Select every other element of a vector
20334 Solvers
579 Solvers
190 Solvers
07 - Common functions and indexing 5
314 Solvers
248 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!