This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 15;
m = 4;
function y = OddRow(x)
y_correct = [1 5 9 13];
assert(isequal(OddRow(x),y_correct))
end
|
Back to basics 11 - Max Integer
678 Solvers
Convert a vector into a number
503 Solvers
725 Solvers
Create sequnce 1 4 9 16 25.........
190 Solvers
101 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!