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
-
1058 Solvers
-
Back to basics 22 - Rotate a matrix
929 Solvers
-
714 Solvers
-
Calculate the area of a triangle between three points
3400 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
882 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!