Odd or even function

I have to create a function oddeven wether the inserted numeric input is odd or even.
input variables: vector consists of integer numbers
output variables:
  • variable odd for odd integer numbers
  • variable even for even integer numbers
thanks for your help!

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by