Question: Consider the below matrix A, which you can copy and paste directly into Matlab. The matrix contains 3 columns, which represent the final grades

 Consider the below matrix A, which you can copy and paste directly 

Consider the below matrix A, which you can copy and paste directly into Matlab. The matrix contains 3 columns, which represent the final grades in a course with 3 sections of equal size. The first column is C01, the second is C02, and the third is C03. A = [71.59 21.02 87.9;39.43 74.8 91.09;45.68 14.32 69.67;100 74.04 54.8;40.57 74.3 71.54;64.95 40.01 74.84;24.92 86.91 100;100 100 26.66;37.41 92.68 75.71;100 47.09 23.1;82.35 19.2 28.43;34.19 46.41 64.89;100 11.79 47.93;61.45 73.11 100;64.46 100 30.6;31.57 25.4 87.25;24.06 76.88 68.8;17.86 8.31 71.82;68.02 37.99 73.63;71.5 84.09 65.98;23.49 80.6 100;42.44 11.52 36.2;100 82.46 40.09;68.19 90.84 54.24;89.66 63.46 87.14;43.82 52.06 25.63;100 73.35 70.62;65.52 55.69 59.8;61.04 91.91 80.68;17.51 81.57 51.12;67.32 66.63 32.94;89.48 37.26 85.13;16.4 19.19 19.32;46.62 59 73.47;71.2 46.81 100;100 51.98 45.71;17.28 17.65 52.25;42.14 26.74 59;43.83 10.31 100;100 21.6 85.83;75.97 48.54 53.77;50.4 67.61 100;80.96 44.65 84.12;30.36 33.47 80.14;82.2 27.29 24.26;83.85 64.22 31.61;77.35 98.81 63.79;99.63 93.25 81.71;26.57 40.98 100;88.49 13.61 48.91;31.2 85.43 19;92.58 98.91 84.81;94.74 76.62 32.48;47.95 77.33 43.33;49.18 23.8 65.56;92.1 26.25 25.76;28.39 74.8 46.43;36.64 92.62 100;90.05 64.15 93.26;35.25 95.52 94.61;90.76 38.99 85.48:56.74 89.47 50.46;60.62 57.55 28.05;91.3 85.62 46.94;73.26 55.56 59.77;50.01 50.84 44.34;88.19 8.11 86.87;15.45 88.13 76.7;63.75 47.49 36.73;58.39 95.51 83.73;21.03 90.92 57.1;34.97 44.77 59.63;100 59.84 100;96.27 52.36 100;69.27 12.42 90.67;58.85 33.16 84.37;17.98 16.43 76;64.54 51.39 85.43;90.69 49.69 100;61.19 20.95 81.58;31.07 63.71 29.35;51.11 63.87 100;29.06 19.3 79.23;63.8 28.52 84.93;46.01 60.28 100;23.7 67.72 68.22;71.56 48.71 54.44;20.79 100 100;100 81.73 100;79.85 45.45 63.34;77.16 16.76 25.09;77.19 66.84 49.98;37.16 58.97 100;38.09 76.55 25.39;100 9 43.79;88.07 82.6 32.24;44.2 75.87 19.27;59.63 41.79 57.7;71.98 17.33 48.5:50.93 80.2 100;71.53 36.04 60.92:84.27 13.82 41.39;31.83 43.44 59.99;58.01 79.13 41.69;75.87 48.39 84.04;72 83.4 33.47;59.37 98.73 41.12;66.18 58.26 34.12;77.81 17.03 86.43;47.74 96.26 100;60.26 25.05 49.46;26.61 51.98 78.51;100 82.67 73.31;32.62 52.87 25.38;50.9 13.58 51.63;18.23 15.46 96.41;86.05 10.27 99.77:45.75 65.5 36.44;99.79 65.71 100;96.48 87.59 100;96.54 26.51 98.29;82.23 18.41 88.42;22.39 55.14 100;67.67 77.56 43.49;73.09 25.88 51.59;94.5 54.01 50.68;81.65 37.45 76.49;63.59 87.01 89.91;36.28 58.53 43.66;57.13 26 95.69;100 19.86 100;84.93 26.73 76.22;67.16 32.98 100;89.42 99.02 25.16;63.41 100 37.13;41.19 77.47 36.06;65.21 72.21 98.44;74.95 94.16 20.53;100 54.87 100;16.76 43.97 63.04;58.21 70 100;27.28 91.33 84.27:82.53 66.73 100;55.95 100 23.61;100 21.97 100;33.15 89.04 83.55;37.02 71.22 45.79;43.9 67.89 99.72;24.74 12.05 89.67;16.37 100 63.91;82.52 84.54 92.48;49.86 99.23 36.71;99.94 100 100;100 90.04 37.85;15.15 44.66 100;89.44 60.95 44;100 38.17 68.07;91.65 32.58 28.71;100 82.76 18.41;32.71 93.07 100;30.21 22.35 56.56;25.54 60.94 48.65;64.87 49.52 100;100 73.5 100] (a) Use the colon operator to extract the marks from C02, and then find the average of those marks (using the 'sum' and 'length' commands). Go (b) Use vertical concatenation to create a single column vector consisting of all of the marks from all 3 sections. Then find the overall class average.

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 Programming Questions!