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 Solvers80
Suggested Problems
-
345 Solvers
-
1425 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
784 Solvers
-
660 Solvers
-
Matlab Basics II - Log and natural log
186 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!