Answered step by step
Verified Expert Solution
Question
1 Approved Answer
legt vector you may use any MATLAB Kunction in completing this problem di To redate put Calculated the mout in TDS. generates a lot of
legt vector you may use any MATLAB Kunction in completing this problem di To redate put Calculated the mout in TDS. generates a lot of most og red d antos angle green TS as a cyan ang anda Tosas angle magenta pus Problem 1: statistics Function (25 Points) As part of your capstone project, you are testing a new design for a compact seawater desalinization system. One of the parameters you are measuring is Total Dissolved Solids (TDS). Create a function called statistics that meets the following criteria: requires TDS as the only input generates four outputs that work for any length vector (you may use any MATLAB function in completing this problem) mean TDS- calculated mean of the input median TDS - calculated median of the input. min TDS - calculated minimum of the input max TDS - calculated maximum of the input generates a plot of TDS as blue asterisks, mean TDS as a single red circle, median Tos as a single green cross, min TDS as a single cyan triangle, and max TDS as a single magenta plus sign Your plot should have a title, labels on both axes, and a legend your plot should look something like this: TDS Statistics TDS mean median min max + Total Dissolved Solids 10753 15 20 Sample Number 25 30 5) in a bag there are 5 red socks and 11 black socks, unpaired and mixed up. One dark morning you pull two socks from the drawer, without replacement. What is the probabilit that the two socks match? Activate Windows
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