Problem 45241. Question 1
Implement a function named q1 with one input argument named n. This function should return the multiplication of all odd numbers between 1 and n, where n is a positive integer. If n is not a positive integer, the output of this function should be the logical false.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers29
Suggested Problems
-
Return the 3n+1 sequence for n
8477 Solvers
-
Back to basics 11 - Max Integer
807 Solvers
-
292 Solvers
-
Check availability of a number in an array
65 Solvers
-
For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
108 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!