Question

Consider the below matrix A, which you can copy and paste directly into Matlab. The matrix...

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 = [60.04 32.21 100;100 39.64 97.32;42.07 100 74.1;40.25 33.88 67.52;21.38 32.93 44.62;85.55 42.16 100;97.7 72.9 77.92;100 32.62 47.05;54.23 91.14 100;100 87.63 26.47;100 39.55 73.36;16.82 47.64 92.65;41.72 48.01 84.1;100 42.78 77.77;88.02 90.3 59.16;100 80.88 65.91;100 37.77 58.94;94.4 100 62.23;12.84 85.6 100;81.58 90.31 29.04;78.64 29.65 56.31;19.52 13.83 51.82;32.58 66.82 100;88.18 56.2 76.98;16.19 52.49 27.75;24.25 30.85 52.76;92.51 89.35 87.5;78.63 20.49 37.05;38.13 94.94 100;67.91 16.65 100;33.3 30.98 99.79;35.18 39.16 50.22;84.73 28.04 74.68;84.16 39.77 58.43;100 27.43 100;43.37 15.72 25.66;100 13.63 60.06;100 22.89 48.89;20.9 40.42 100;37.66 68.96 27.16;12.74 71.98 61.51;40.38 38.92 80.51;14.34 58.87 33.19;86.52 43.87 100;92.54 69.1 44.42;80.01 28.66 41.65;29.28 16.05 100;43.49 33.8 80.7;91.04 13.52 37.26;79 12.58 56.58;19.81 64.01 28.42;23 96.14 89.76;78.19 49.34 39.9;71.45 100 100;48.1 93.45 100;96.81 10.39 100;59.69 81.73 77.28;97.68 100 89.68;90.6 49.36 75.22;71.86 100 49.42;24.21 24.55 73.34;76.21 66.67 23.14;100 100 21.83;100 33.24 100;100 35.26 38.52;73.96 86.29 100;98.93 74.31 36.71;41.14 93 81.59;83.49 63.26 100;47.61 64.89 79.8;27.51 72.71 100;36.84 55.83 37.89;30.04 31.5 97.02;70.85 69.63 48.47;21.88 57.79 20.32;16.6 98.1 37.65;79.99 13.6 30.73;97.18 29.38 100;60.82 79.62 34.24;39.11 41.3 23.59;66.01 27.62 46.92;85.09 83.75 75.42;100 81.93 28.75;88.35 88.11 49.96;52.15 38.1 84.21;97.95 69.75 22.61;100 80.31 91.33;24.41 77.56 100;75.33 64.31 92.18;48.83 92.16 38.92;41.27 33.85 20.54;95.67 89.99 60.57;23.64 86.32 43.44;26.6 100 21.32;40.53 54.47 40.83;87.58 76.04 31.82;56.81 98.63 100;93.66 69.32 100;23.11 100 18.88;49.8 73.04 49.08;26.34 28.81 57.48;70.91 77.23 45.13;42.02 19.72 71.87;78.33 28.91 91.17;89.95 100 24.8;27.06 89.98 59.72;39.75 99.05 38.99;15.69 14.94 100;13.31 88.63 61.63;42.9 92.18 50.97;19.48 29.65 47.83;97.94 26.93 51.32;36.97 22.23 49.88;84.88 25.46 80.97;99.23 34.43 38.17;49.83 78.69 28.17;100 37.8 79.54;15.43 45.15 57.55;100 61.37 99.14;42.23 63.75 47.33;51.28 95.14 98.12;83.04 82.21 65.22;17.51 13.09 90.06;48.82 40.08 53.88;22.5 98.32 100;42.12 83.4 81.72;18.26 100 100;19.79 99.94 20.64;34.31 34.07 61.81;61.31 74.97 95.92;69.04 49.04 64.64;69.99 35 24.17;81.26 60 42.55;100 71.74 100;47.13 52.66 100;25.43 61.43 73.49;35.69 100 99.62;65.48 52.83 44.59;100 46.82 87.04;21.16 35.89 24.04;77.82 25.58 33.38;14.03 87.1 49.37;75.93 29.87 57.41;100 42.61 18.41;56.92 100 32.18;89.53 72.4 59.09;59.51 100 19.55;94.13 18.2 43.44;80.08 68.53 72.44;69.62 63.76 82.78;71.41 66.19 40.87;28.9 87.12 74.67;56.84 17.26 70.41;50.12 57.18 29.9;28.44 100 100;61.88 47.28 99.7;43.55 32.8 100;45.83 57.34 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).

(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.

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Consider the below matrix A, which you can copy and paste directly into Matlab. The matrix...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Consider the below matrixA, which you can copy and paste directly into Matlab.

    Problem #1: Consider the below matrix A, which you can copy and paste directly into Matlab. The matrix contains 3 columns. The first column consists of Test #1 marks, the second column is Test # 2 marks, and the third column is final exam marks for a large linear algebra course. Each row represents a particular student.A = [36 45 75 81 59 73 77 73 73 65 72 78 65 55 83 73 57 78 84 31 60 83...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT