Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab Name: Code 1: The following matrix describes Injury Severity Score (ISS, unitless) and hospital stay (days). Row 1 is the ISS and row 2

Matlab image text in transcribed
Name: Code 1: The following matrix describes Injury Severity Score (ISS, unitless) and hospital stay (days). Row 1 is the ISS and row 2 is the 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 the plot and all axis. Display to the command window a message with the mean ISS score, and the mean days in hospital. (i.e. "The mean ISS score 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 the box "linear. Press the right arrow button to get the coefficient values for linear fit. What is the estimated stay for a patient with a iSS of 55? . Make note of the formula as it will be used later. Calculating ISS for an individual involves taking scores from an Abbreviated injury Scale (AIS) from 0-5 for sbx different body areas head, face, chest, abdomen, extremities, and external. The three body areas with the highest score have their AiS squared and are added together to produce an ISS for individual. Code 2: Write a script that prompts a user to enter 6 AiS values, one for each body area. Using the AiS value, produce an isS score and display to the command window. (Le. The ISS score is 75", not just xs 75) The scores 3,0,4, 5, 3,0 should result in a ISS of 50. Use the sortlx, 'descend) to arrange a vector in descending order. Code 3: The following table contains multiple patients with AlS values Head AIS Face AIS Chest AIS Abdomen AIS Extremities AIS External AIS Erika Mustermann Paul Blart Zoey King Write a MATALB script that does the following: Displays to the command window what name had the highest iss, iss value, and estimated hospital stay 1. 2. Creates a bar eraph of the patient's iSs with name. Label the graph and all axis o Use bary) not barty.x) Use ylabcl to change label on y axis Use set (acataxaxia.' that is a cell array of strings. Hint: Use L) around patient names o to add names to x axis. xaxis is a variable

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions

Question

Describe the five elements of the listening process.

Answered: 1 week ago