Question: Problem 2 Given the following data of two class sections ( i . e . , S 1 , and S 2 ) where each

Problem 2
Given the following data of two class sections (i.e., S1, and S2) where each has 5 students with term marks (i.e., T marks over 60) and final exam marks (i.e., F over 40).
Using 1-line MATLAB command:
a) Define a matrix x which contains students' IDs and the marks of both sections.
b) Compute the total marks of the first student from section 2
c) Extract all marks of the third student of each section
\table[[ID,S1_T,S1_F,S2_T,S2_F],[1,55,29,30,36],[2,42,34,35,29],[3,39,36,60,39],[4,57,39,29,32],[5,59,40,33,40]]
d) What is the maximum mark in the final exam for each section and find the corresponding student ID?
Create a matrix x?new by including a total mark column (T+F) for each section (2 columns should be added)
1
Problem 2 Given the following data of two class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!