Matlab Coding for Programming classes
Show older comments
Four weekend Programming classes consist of students with the following numbers: Class I=32 students, Calss II=40 students, Class III=34 students and Class IV=28 students. The distribution of students’ average marks for each class for four (4) tests is given as the followings: Test1 = [76 78 68 82] Test2 = [58 65 70 66] Test3 = [82 84 75 90] Test4 = [77 68 69 75]
For the above distribution, write a single SciLab/Matlab command to determine:
1. Number of students attended the Programming class
2. Total student marks for Test 1
3. Total Test2 mark for Class III
4. Total student Test3 mark for each class
5. Which class has an average mark of Test4 above 70
6. Minimum average mark of Test4
7 Comments
Voss
on 16 Feb 2024
What does your MATLAB code look like so far?
Nurul
on 16 Feb 2024
the cyclist
on 16 Feb 2024
What @Voss means is that this is obviously a homework assignment, and he is asking to see what you have tried so far.
We are not here to do your homework for you, but if we see some effort on your part, we might try to offer you a hint or two.
Nurul
on 16 Feb 2024
Walter Roberson
on 16 Feb 2024
The numbers given are averages so the total marks involves multiplying the average by the number of students involved.
the cyclist
on 16 Feb 2024
I edited your comment to convert it to executable code. (See the CODE section of the Toolbar? That's how to do it.)
I also removed the last semicolon that suppresses screen output, so you would see it here.
It's unclear to me what your question is at this point.
Answers (0)
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!