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 comments
Loading...
Problem Recent Solvers31
Suggested Problems
-
Find the sum of all the numbers of the input vector
54906 Solvers
-
Sum all integers from 1 to 2^n
17888 Solvers
-
Area of an equilateral triangle
6913 Solvers
-
Find out value of sine given by degree.
357 Solvers
-
249 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!