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
20358 Solvers
15302 Solvers
All your base are belong to us
463 Solvers
Remove the two elements next to NaN value
411 Solvers
Sum the squares of numbers from 1 to n
163 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!