isodd

Checks to see if a number is odd or even.
6.6K Downloads
Updated 19 Jul 2002

No License

Determines if a number is odd or even by dividing the number by two an seeing if the number is an integer.

Cite As

Richard Medlock (2026). isodd (https://se.mathworks.com/matlabcentral/fileexchange/2006-isodd), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0