I have an excel file that I imported into MatLab using xlsread…. this file has numbers ranging from 1000-5999 and has over 5000 individual elements in it.
The basics of the question is that all odd numbers are men and even numbers are women. How can I write a script using the remainder tool on Matlab??
The output must look something similiar to this(with different numbers):
The total # of habitants in Tiny Ville is = 10
Tiny Ville has = 8 women
Tiny Ville has = 2 men
Best Answer