Odd or even function

22 views (last 30 days)
Frederike Petersen
Frederike Petersen on 12 Oct 2021
Answered: Image Analyst on 12 Oct 2021
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!

Community Treasure Hunt

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

Start Hunting!

Translated by