Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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 BlackboardStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started