Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Solve using MATLAB need published solution You may use MATLAB built-in functions for this problem. ID numbers and grades for students are provided in a
Solve using MATLAB need published solution
You may use MATLAB built-in functions for this problem. ID numbers and grades for students are provided in a file called "Grades txt' on Canvas. The data has the following tab-delimited information/format: The second line gives you the total available points for each assignment. Use fscanf() to read the data from the file into MATLAB. Note that you will need to skip the first 3 lines. As will be discussed in lecture, you might consider using fgetl() to skip lines. Write a MATLAB script that 1. Determines how many perfect homework scores there are 2. Makes a bar graph of the mean homework scores with error bars. The error bars should provide the 95% confidence intervals. Here is a link to help you calculate the confidence intervals: https://learn.bu.edu/bbcswebdav/courses/13sprgmetcj702_ol/week03/metcj702_W03S02T08a_determine.html Note that the confidence intervals require using the standard error which is equal to the standard deviation of the population divided by the squareroot of the number of samples. The horizontal axis should show HW1 through HW5. The vertical axis should give the scores. Label the vertical axis. 3. Make a histogram of the Final scores. The histogram should have 5 bins having the ranges 0-20, 20-40, 40-60, 60-80, 80-100, respectively. Be sure that your 5 bins line up correctly in the corresponding range (first bin 0-20, second bin 20-40, etc.). Label the axis and provide a title for the plot. Add two lines of text annotation that give the mean and the standard deviation for the Final grade distribution Put the two plots (bar plot and histogram) side-by-side with subplot()Step 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