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

Problem #3: 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 CO2, and the third is CO3. A = [87.49 80 30.48:55.76 53.02 69.78:84.04 76.22 70.5:39.37 63.39 27.95:28.54 100 30.88:12.14 19.26 100,50.81 87.18 100;34.13 74.47 63.49,100 21.91 23.7,100 80.04 92.23,85.62 8.1 30.95;69.4 44.27 42.46;100 89 71.82:13.75 60.36 100:19.66 84.22 54.28:57.45 65.8 94.17;54.13 38.98 50.28:23.32 55.94 42.9;18.42 91.24 70.44;100 10.53 55.21:18.59 100 58.81;16.91 24.69 59.95;59.58 97.03 78.4;100 72.81 55.47:57.38 51.78 28.34;87.56 61.9 91.92;76.48 24.3 78.27;84.44 36.95 100:81.36 28.16 100;22.81 75.79 86.7:90.95 28.21 58.31;31.18 11.43 90.77:85.71 77.66 68.29,21.77 17.34 98.49,72.28 71.65 38.77:93.14 34.09 85.21;91.32 75.64 63.46;100 51.34 91.98;43.18 33.39 27.42;74.01 67.72 68.77;70.82 9.73 65.32;100 41.26 85.15,91.39 89.79 69.56:26.16 70.68 49.26:26.97 50.14 95.71;97.15 22.77 100;72.14 92.01 47.34;98.45 70.01 99.94;47.89 97.37 100;87.9 63.49 100;32.29 19.51 48.52:44.98 66.23 100;88.57 79.36 61.19;81.82 94.65 71.2;70.77 69.86 21.38:69.42 59.85 49.84:100 36.02 99.19:33.22 41.1 46.26;18.2 71.73 100;77.65 9.87 57.81:100 22.07 99.56:45.61 73.18 63.39:95.83 60.9 78.66:22.54 100 71.81:81.94 72.54 61.05:22.38 79.42 49.74:73.87 29.79 28.58:27 37.34 41.37:67.84 18.23 79.62:25.2 61.8 40:15.67 26.69 100;79.43 86.65 65.76;98.39 30.5 80.14;72.83 67.23 100;16 81.83 29,56 32.52 19.26;29.95 81.18 93.23;63.31 17.66 83.56;64.04 77.33 38.65,99.63 47.54 34.56;100 83.09 99.1;18.22 80.09 72.13;91.92 17.62 74.21;28.02 25.24 67.02;46.1 35.36 100;56.42 17.62 94.59,90.73 59.15 100;72.8 98.2 40.91;100 93.05 83.01:32.8 20.85 87.15;92 9.6 25.77:81.99 90.72 100;60.78 77.46 25.2:19.96 69.88 69.21;12.54 74.03 100;81.47 100 80.99;35.06 71.74 23.51;100 72.21 100:94.62 100 69.36;40.38 84.61 51.16;23.18 18.28 78.56,75.12 34.7 48.53;34.62 82.65 100;31.69 44.84 89.25;54.04 59.67 96.37,30.65 44.73 100;90.46 87.64 40.12;62.66 61.63 79.24;21.38 11.21 22.13;23.29 23.99 88.4;25.9 19.44 64.64;100 91.07 68.24:59.97 26.3 68.95;63.77 60.13 67.77;36.25 85.46 67.63;40.72 19.87 65.42;50.96 36.49 98.63;100 92.5 62.41;74.67 47.36 19.46;21.75 68.88 100;17.57 52.96 52.93;89.67 100 100;92.73 82.21 71.19:55.57 98.81 73.55:30.19 90.9 32.07;36.66 76.27 100;40.18 24.77 75.81;100 84.61 24.66;34.13 16.33 47.69;59.55 83.15 49.29;15.28 50.52 73.26,30.68 41.77 83.05;58.47 18.35 32.68,95.21 69.46 49.58;18.21 9.42 64.31:71.55 37.84 94.22:22.12 87.15 30.99;62.66 6.48 100:25.78 53.24 79.94;35.84 83.08 79.89;64.15 94.79 18.17;54.21 87.79 87.36;21.96 76.96 29.46;100 40.8 78.69;51.89 95.35 30.06;97.86 73.89 51.62;99.8 47.55 93.43;91.75 81.03 56.84;82.28 16.15 100;96.62 83.2 100;16.81 42.82 27.65] (a) Use the colon operator to extract the marks from C01, and then find the average of those marks (using the 'sum' and 'length' commands). (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. Problem #3(a): Problem #3(b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
