Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE USE MATLAB SO SOLVE THIS EXERCISE, IT CAN ONLY BE DONE IN MATLAB OR EQUIVALENT SOFTWARE Problem #3: Consider the below matrix A, which

PLEASE USE MATLAB SO SOLVE THIS EXERCISE, IT CAN ONLY BE DONE IN MATLAB OR EQUIVALENT SOFTWARE

image text in transcribed

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 C03. A = [84.16 100 36.62:59.16 85.92 83.85:87.06 37.45 46.33;27.59 20.65 64.32:17.34 100 86.4378.01 32.82 49.82;30.47 55.21 46.61,57.39 27.73 100:92.98 46.83 64.21:53.68 31.2 56.34:100 94.14 90.48;67.04 73.81 36.2:23.31 43.19 78.18;100 100 83.84;45.2 23.2 31.74;77.42 34.42 59.45:96.99 21.94 55.57:97.42 81.93 35.94:56.84 9.74 41.65:31.18 51.99 76.29,57.22 21.89 23.27:48.87 100 64.86:60.25 77.27 48.77:100 24.59 39.21;76.74 100 42.01:48.7 43.36 62.87;42.87 48.55 59.92:81.47 14.91 100:60.34 25.87 45.47;63 64.55 32.42:83.09 76.65 54.58:84.14 63.55 64.95:63.57 16.63 65.26:17.71 82.88 21.4:87.1 26.76 24.41:54.78 10.48 33.92:88.07 73.95 66.36:15.44 71.3 49.25:49.4 82.97 84.1.100 27.78 58.8:44.1 10.93 77.62:67.39 45.03 58.36:95.54 34.65 100:14.56 10.99 100;64.28 100 100;29.62 25.81 33.21;65.96 40.55 100:92.24 93.43 100;72.69 98.64 94.14:68.26 72.01 65.22:15.78 49.52 84.37,100 52.75 71.04:26.92 50.85 64.9:100 93.91 47.41:100 100 100:15.13 72.13 65.39,100 100 19.24:79.93 85.44 100:39.01 97.79 42.1:65.28 33 100:85.22 14.4 62.8;100 26.42 82.25:81.37 18.74 57.87,74.92 57.97 20.08:30.93 14.28 100:30.81 98.41 84.99;100 39.66 44.88;24.25 100 100:27.41 91.26 34.47:37.1 58.08 25.55:100 47.63 100:100 100 74.66:100 23.18 63.84:44.89 69.45 26.31:48.77 78.83 92.17;63.15 43.79 24.67;45.24 97.84 100;79.28 41.19 100:67.73 28.66 31.44:40.45 60.73 29.24:35.63 58.17 50.22:30.97 30.51 31:100 83.24 100:100 25.11 52.22:30.92 38.08 100:19.43 75.4 83.49:100 14.53 46.49,78.55 13.23 100;100 14.88 74.38:33.82 52.22 78.05:100 28.1 48.16;89.65 71.47 21.58;70.96 90.74 32.74:43.63 100 52.7;74.37 91.32 78.43;32.79 99.29 81.38:69.35 57.04 58.3:100 23.64 69.43;100 70.36 36.83:42.99 18.54 70.1:53.49 60.86 100:69.21 50.18 82.53.100 86.85 37.6378.61 17.02 22.4:65.49 99.01 80.68;30.45 91.39 89.61,33.7 88.02 37.09:60.07 35.38 85.75:71.41 100 100:98.88 51.32 89:75.13 48.05 25.58;22.86 45.94 58.53:98.88 16.17 20.63;31.87 100 100:70.69 29.57 51.35:73.62 92.25 48.62:78.17 77.46 78.19;74.29 99.73 44.47,26.18 30.49 41.36;73.69 98.11 100:89.56 75.09 77.15,21.02 43.3 21.02:36.19 59.96 100:39.07 82.75 47.93:53.5 9.83 47.57.100 41.8 80.78:17.92 100 100:87.61 10.77 85.44:99.54 64.97 25.13;66.13 17.95 45.86:28.5 100 85.98;82.34 16.49 21.32:100 97.7 72.46;35.28 42.38 84.09:93.67 95.22 100:100 23.34 100:36.43 40.24 27.72:100 51.42 100:64.78 68.25 60.1:100 20.1 66.39:34.48 22.92 84.58:73.15 26.49 65.27 79.77:39.16 77.09 100:49.86 30.93 21.67;24.37 71.22 48.1;54.19 24.33 73.11:24.96 97.18 45.68:61.61 37 100:92.23 71.61 55.18:98.71 100 39.14:82.44 54.19 19.64:37.23 32.6 29.32:15.85 98.01 42.42:23.1 33.33 74.57:45.63 63.42 62.11:48.67 34.36 $7.44:17.49 71.13 100:84.05 72.61 100:29.26 73.9 63.32:100 18.05 8.13 75.47:100 100 100:37.98 59.73 59.56:73.17 85.9 31.55:17.58 24.26 100:57.44 51.48 100:52.03 10.21 25.41 (a) Use the colon operator to extract the marks from C03, 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

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

Students also viewed these Databases questions

Question

Identify the elements that make up the employee reward package.

Answered: 1 week ago

Question

Understand the purpose, value and drawbacks of the interview.

Answered: 1 week ago