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 Solvers83
Suggested Problems
-
6708 Solvers
-
Set the array elements whose value is 13 to 0
1429 Solvers
-
Change the sign of even index entries of the reversed vector
627 Solvers
-
Cumulative product of a vector
297 Solvers
-
388 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!