Question: MATLAB code please 2 (60%) In the same parade there was a marching band consisted of males and females. The band was arranged in n

 MATLAB code please 2" (60%) In the same parade there was

MATLAB code please

2" (60%) In the same parade there was a marching band consisted of males and females. The band was arranged in n rows and m columns. The gender distribution of the band members was random. The members used five musical instruments: drums, trumpets, piccolos, clarinets and trombones which were also distributed randomly. Write a program that will perform the following: a. (10%) Accept the values n and m and define appropriate size arrays to describe the b. (10%) Fill the first arrays with a code corresponding to the gender and the second c. (1000) Determin d. (15%) Determine how many instruments of each kind in the band and print out the e. ( gender and the instrument of each member in the band array with a code corresponding to the instruments the member plays. Print the arrays the results. results. e how many males and how many females in the band and print out 10%) Determine how many males in the row and print out the results. (10%) Determine how females in first column and print out the results. f. (10%) Use the same array of problem 2 and determine how many males are playing drums and print out the results. 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!