• In the script file: Remove the values that read 0.0000 and the corresponding t
ID: 3769968 • Letter: #
Question
• In the script file: Remove the values that read 0.0000 and the corresponding times Plot the original data and the new data on the same graph. Label appropriately. Compare the mean and standard deviation of the new and old data. Display it to the user. Find the number of points that were corrupted and display to the user.
• Your script file MUST contain the following commands and programming fundamentals. Vector Extraction Loops Graphing If/Else Statements File Input length() or size() std() mean() Evaluate
• Did removing the 0.0000 values have an appropriate effect on the standard deviation and mean? (i.e. should these values go up or down once the 0.0000 values are removed) Write a sentence or two explaining how you used this to check that your solution might make sense. Document
• Print (paper or pdf depending on instructor preference) the final version of your script file.
• Print (paper or pdf depending on instructor preference) the command window output. • Print (paper or pdf depending on instructor preference) the figure produced by the script file.
• Print (paper or pdf depending on instructor preference) the calculation for the evaluate step.
Explanation / Answer
The following is the required code in MATLAB. Code to copy is given at the end.
Screenshot of the Code:
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.