This question is closed. Reopen it to edit or answer.

I must assume that I have a two dimensional array named twoD. Using iteration (for) and conditionals (if and/or switch), I have to separate twoD into two vectors evenNum and oddNum

1 view (last 30 days)
a. evenNum contains all of the even numbers in twoD b. oddNum contains all of the odd numbers in twoD any help?

Answers (0)

Community Treasure Hunt

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

Start Hunting!