Odd or even function

2 次查看(过去 30 天)
Frederike Petersen
Frederike Petersen 2021-10-12
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!

回答(1 个)

Image Analyst
Image Analyst 2021-10-12

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by