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 (2022). isodd (https://www.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 LinuxCategories
Tags
Acknowledgements
Inspired: Plot cylinder, Kalman filter - Square root covariance update
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.