Problem 43006. Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The first number of the row is 1.
Solution Stats
Problem Comments
-
3 Comments
goc3
on 4 Oct 2016
I updated the problem with additional test cases.
Christian Schröder
on 21 Oct 2022
Broken test suite?
Dyuman Joshi
on 22 Oct 2022
Test suite has been fixed.
Solution Comments
Show commentsProblem Recent Solvers76
Suggested Problems
-
17413 Solvers
-
4124 Solvers
-
Back to basics 23 - Triangular matrix
965 Solvers
-
The sum of the numbers in the vector
582 Solvers
-
Add a row of zeros on top of a matrix
244 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!