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 Solvers29
Suggested Problems
-
Select every other element of a vector
36101 Solvers
-
Find the largest value in the 3D matrix
1660 Solvers
-
6301 Solvers
-
167 Solvers
-
Average of even-numbered columns
76 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!