Question: Write modular codes in MATLAB using user-defined functions 2. Use FOR loops in programs. The file testscores.dat has on each line a student ID# and

Write modular codes in MATLAB using user-defined functions 2. Use FOR loops in programs.

Write modular codes in MATLAB using user-defined functions 2. Use FOR loops

The file testscores.dat has on each line a student ID# and a test score. write a program to read in the scores and determine the high, low and average (Ave) of the scores. Determine also the standard deviation (SD) of the scores. Use MATLAB functions to do this directly. For each student, determine the grade assuming that the following: 4. Grade Range Score >Ave 1.5 SD Ave 1.5*SD> Score>Ave0.5 SD B Ave + 0.5 *SD > Score > =Ave-0.5 *SD | C Ave-0.5 SD> Score>Ave 1.5 SD D Ave 1.5 SD>Score Print out in a new file the student ID and the correct letter grade. How many A's, B's, C's, D's, and F's were given? The program should provide a summary of the scores: Low, High, Average, # of each letter grade to the command window. Turn in the output to the command window. Submit your.m files on Blackboard

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 Databases Questions!