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 Solvers24
Suggested Problems
-
7200 Solvers
-
How to find the position of an element in a vector without using the find function
2694 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
594 Solvers
-
7940 Solvers
-
405 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!