Matlab
The following matrix describes Injury Severity Score (ISS,unitless) and hospital stay (days). Row 1 is the ISS and row 2 isthe hospital stay.
[64,35,50,46,59,41,27,39,66;
8,2,5,5,4,3,1,4,6].   ÂÂ
Create a script that plots stay in hospital vs ISS. Label theplot and all axis. Display to the command window a message with themean ISS score, and the mean days in hospital. (i.e. “The mean ISSscore is 30”, not just x = 30).
Use the sort(x) to arrange a vector in ascending order
Question: On the plot select “Tools” ->“Basic Fitting”. A window will pop up for line fitting. Select thebox “linear”. Press the right arrow button to get the coefficientvalues for linear fit. What is the estimated stay for a patientwith a ISS of 55?
Make note of the formula as it will be used later.
Calculating ISS for an individual involves taking scores from anAbbreviated Injury Scale (AIS) from 0 – 5 for six different bodyareas head, face, chest, abdomen, extremities, and external. Thethree body areas with the highest score have their AIS squared andare added together to produce an ISS for individual.