only accept odd numbered input arguments
7 views (last 30 days)
Show older comments
I am writing a function and I would like it to only run if the input argument is odd, is there an easy to specifcy that the input must be odd.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!