File Exchange

image thumbnail

is___ - isodd, iseven, isint, isnatural, iswhole

version 1.0 (1.92 KB) by Sky Sartorius
A small set of simple is___ utility functions convenient to have on the path.

1 Download

Updated 23 Feb 2017

View License

isodd - true for odd elements of an array.
iseven - true for even elements of an array.
isint - true for integer elements of an array (not to be confused with isinteger).
isnatural - true for natural elements of an array.
iswhole - true for whole number elements of an array.

Cite As

Sky Sartorius (2021). is___ - isodd, iseven, isint, isnatural, iswhole (https://www.mathworks.com/matlabcentral/fileexchange/61262-is___-isodd-iseven-isint-isnatural-iswhole), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!