Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 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 = [100 48.45 35.66;58.27 12.46 100;33.31 95.22 32.52;100 100 45.95;39.1 63.28 68.62;100 28.6 95.17;100 53.05 74.59;82.92 26.57 22.75;45.72 21.81 98.97;48.15 49.92 87.84;64.11 15.14 65.01;73.31 53.88 100;50.53 100 100;74.46 24.5 52.64;27.95 69.11 48.29;61.33 55.17 65.82;70.22 14.82 66.15;31.13 19.94 24.23;55.64 37.37 100;67.02 36.32 100;100 81.32 44.95;81.7 90.77 68.44;59.61 72.54 78.38;81.89 94.88 100;37.39 77.75 47.62;53.66 98.34 97.73;13.47 70.86 100;79.3 50.83 57.2;95.3 16.04 56.25;19.02 75.35 66.38;72.63 68.3 82.52;45.97 64.6 73.34;100 97.79 46.39;96.38 52.05 100;25.04 43.13 19.24;55.16 69.78 88.16;36.47 32.56 55.57;100 51.09 36.2;72.84 60.09 88.91;16.05 26.29 92.4;84.92 33.24 100;43.73 14 36.99;98.87 61.21 67.45;23.06 25.17 98.51;30.67 87.35 62.75;24.86 97.42 100;69.9 73.04 24.95;35.62 88.96 64.89;44.67 89.02 99.43;44.32 72.27 26.21;31.25 28.9 49.9;93.05 33.77 100;100 36.71 100;36.95 66.48 73.78;100 54.54 86.88;17.25 15.58 70.1;56.96 34.84 64.72;40.36 28.21 92.68;39.54 42.08 74.08;62.01 12.59 100;55 37.13 64.82;84.79 100 88.52;43.71 32.92 63.76;39.78 54.13 27.98;41.21 65.03 43.04;96.12 29.99 100;100 21.38 54.41;47.39 100 100;65.32 24.83 42.9;57.16 81.78 37.14;86.69 41.41 73.86;100 90.82 81.23;40.32 82.6 83.16;33 100 53.43;100 94.63 75.15;100 57.71 79.51;98.74 96.01 53.98;84.21 83.32 95.31;78.23 73.11 41.15;15.02 98.84 89.35;82.69 51.54 91.43;32.33 79.01 96.89;85.39 41.71 21.13;83.63 60.78 86.17;48.11 100 95.1;79.84 41.94 58.72;100 87.24 29.9;52.6 87.77 100;100 50.88 100;14.68 8.74 48.8;88.72 33.14 100;45.98 29.13 68.38;53.94 78.69 81.02;47.48 100 65.58;15.83 86.82 84.73;53.76 80.15 100;46.57 33.63 36.6;55.71 13.61 29.22;38.8 8.26 100;50.85 20.58 51.13;40.2 20.53 100;54.08 96.33 27.86;51.23 20.49 55.18;38 40.38 100;57.3 81.35 66.59;62.64 14.95 82.13;50.26 85.02 100;54.41 47.66 70.28;98.89 50.24 47.98;100 55.52 34.33;97.18 86.14 52.34;14.67 87.57 52.2;36.22 12.27 32.24;86.83 72.93 37.74;100 69.77 57.28;38.86 96.34 33.43;100 54.43 24.91;43.6 34.5 58.76;100 21.17 59.37;91.53 51.95 60.9;100 9.27 100;97.42 36.7 50.27;54.37 100 84.86;17.94 8.89 25.22;73.34 94.99 52.3;54.94 59.45 68.55;58.8 28.49 28.99;100 18.59 100;100 34.26 52.32;91.89 72.83 21.95;99.02 53.68 100;73.34 40.38 100;52.3 30.84 34.47;44.94 81.29 94.4;88.78 32.36 100;20.25 38.46 21.73;30.32 92.43 55.95;100 44.06 77.87;30.55 25.91 25.74;98.35 62.52 100;67.83 93.72 100;77.24 17.76 77.88;71.21 67.21 49.28;23.59 9.48 100;51.85 10.93 69.06;57.86 53.3 94.49;62.44 100 36.76;88.37 100 72.96;75.39 94.36 18.85;39.44 34.28 95.43;51.88 48.23 50.46;74.13 31.73 71.97;100 31.16 36.28;71.2 37.92 18.7;27.93 46.96 31.11;24.61 24.59 58.13;30.09 17.86 25.98;36.95 86.25 80.06;23.37 43.67 100;36.83 100 69.75;39.32 21.49 23.63;55.4 28.41 24.89]
(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).
(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions

Question

4. EMC Corporation

Answered: 1 week ago

Question

6. Vanguard

Answered: 1 week ago