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 Solvers32
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53991 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15825 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1310 Solvers
-
190 Solvers
-
304 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!