is___ - isodd, ispositive, isint, isnatural, etc.

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

157 Downloads

Updated 24 Nov 2022

From GitHub

View License on GitHub

is___

A small set of simple is___ utility functions convenient to have on the path.

  • 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.
  • ispositive - true for positive elements of an array.
  • isnegative - true for negative elements of an array.
  • istext - true for character or string arrays.

Cite As

Sky Sartorius (2022). is___ - isodd, ispositive, isint, isnatural, etc. (https://github.com/sky-s/is___/releases/tag/1.1), GitHub. Retrieved .

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!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.