Odd or even function

2 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!

Answers (1)

Image Analyst
Image Analyst on 12 Oct 2021

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!