Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The gradebook of a Linear Algebra teacher is as follows He wants to write a Matl

ID: 3807907 • Letter: T

Question

The gradebook of a Linear Algebra teacher is as follows He wants to write a Matlab program to analyze this data. You are asked to assist him with the following tasks: a) Write the matrix A that stores the grade data, where the rows correspond to the students and the columns correspond to the assignment types. b) The final grade is calculated by the formula 0.2 * (Homework) + 0.2 * (Test 1) + 0.2 * (Test 2) + 0.4 * (Final exam) Express the calculation of the final grades for all students as a single matrix-vector multiplication. c) Define the vector upsilon = [1/3 1/3 1/3] What is the meaning of the product upsilon^T A?

Explanation / Answer

A = [100,100,100,100; 50,20,20,50;100,80,90,90] %% grade data as described
b = [0.2;0.2;0.2;0.4] %% this is a column vector
final = A*b %%we get the final score here
v = [1/3;1/3;1/3];
v'*A %% this operation calculates the average grade for each assignment

vTA calculates the average grade for each assignment

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote