%% Problem 1
a = [15 3 22; 3 8 5; 14 3 82];
b = [1; 5; 6];
c = [12 18 5 2];
d = a(: , 3)
e = [b d]
f = [b; d]
g = [a; c(1:3)]
%% Problem 2
thermo_scores=[ 1 68 45 92;
2 83 54 93;
3 61 67 91;
4 70 66 92;
5 75 68 96;
6 82 67 90;
7 57 65 89;
8 5 69 89;
9 76 62 97;
10 85 52 94;
11 62 34 87;
12 71 45 85;
13 96 56 45;
14 78 65 87;
15 76 43 97;
16 68 76 95;
17 72 65 89;
18 75 67 88;
19 83 68 91;
20 93 90 92];
student_5 = thermo_scores(5 , :)
test_1 = thermo_scores(: , 2)
std1 = std(thermo_scores(: , 2))
std2 = std(thermo_scores(: , 3))
std3 = std(thermo_scores(: , 4))
student1score = sum(thermo_scores(1 , 2:4));
student1percent = mean(thermo_scores(1 , 2:4));
student2score = sum(thermo_scores(1 , 2:4));
student2percent = mean(thermo_scores(1 , 2:4));
student3score = sum(thermo_scores(1 , 2:4));
student3percent = mean(thermo_scores(1 , 2:4));
student4score = sum(thermo_scores(1 , 2:4));
student4percent = mean(thermo_scores(1 , 2:4));
student5score = sum(thermo_scores(1 , 2:4));
student5percent = mean(thermo_scores(1 , 2:4));
student6score = sum(thermo_scores(1 , 2:4));
student6percent = mean(thermo_scores(1 , 2:4));
student7score = sum(thermo_scores(1 , 2:4));
student7percent = mean(thermo_scores(1 , 2:4));
student8score = sum(thermo_scores(1 , 2:4));
student8percent = mean(thermo_scores(1 , 2:4));
student9score = sum(thermo_scores(1 , 2:4));
student9percent = mean(thermo_scores(1 , 2:4));
student10score = sum(thermo_scores(1 , 2:4));
student10percent = mean(thermo_scores(1 , 2:4));
student11score = sum(thermo_scores(1 , 2:4));
student11percent = mean(thermo_scores(1 , 2:4));
student12score = sum(thermo_scores(1 , 2:4));
student12percent = mean(thermo_scores(1 , 2:4));
student13score = sum(thermo_scores(1 , 2:4));
student13percent = mean(thermo_scores(1 , 2:4));
student14score = sum(thermo_scores(1 , 2:4));
student14percent = mean(thermo_scores(1 , 2:4));
student15score = sum(thermo_scores(1 , 2:4));
student15percent = mean(thermo_scores(1 , 2:4));
student16score = sum(thermo_scores(1 , 2:4));
student16percent = mean(thermo_scores(1 , 2:4));
student17score = sum(thermo_scores(1 , 2:4));
student17percent = mean(thermo_scores(1 , 2:4));
student18score = sum(thermo_scores(1 , 2:4));
student18percent = mean(thermo_scores(1 , 2:4));
student19score = sum(thermo_scores(1 , 2:4));
student19percent = mean(thermo_scores(1 , 2:4));
student20score = sum(thermo_scores(1 , 2:4));
student20percent = mean(thermo_scores(1 , 2:4));
Comments
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎