version (260 Bytes) by Richard Medlock
Checks to see if a number is odd or even.


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 (2022). isodd (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!