1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
zhannawk [14.2K]
3 years ago
8

Write a MATLAB script m-file to compute the ISS given an array of 6 AIS scores, which represent the most severe injuries to each

of the six body parts. Test your code using the array [3 0 4 5 3 0], for which the ISS should be 50.

Computers and Technology
1 answer:
Dmitrij [34]3 years ago
4 0

Answer:

The Matlab code is as given in the explanation, paste the code in the new script file, save it and run.

Explanation:

The code is as follows

Code:

<em>%% Initialization of the code</em>

<em>% The code takes an array of six AIS scores of the form [AIS1 AIS2 AIS3</em>

<em>% AIS4 AIS5 AIS6] of order 1x6.</em>

<em>AIS=input('Please enter the AIS array of the form [AIS1 AIS2 AIS3 AIS4 AIS5 AIS6]');%taking input of the array</em>

<em>AISs=sort(AIS,'descend');%sorting the array in the descending order</em>

<em>iss=(AISs(1,1)^2)+(AISs(1,2)^2)+(AISs(1,3)^2);%Calculating the ISS</em>

<em>disp(['The injury severity score (ISS) for the entered array is ', num2str(iss)])%Displaying the output</em>

Output:

<u><em>Please enter the AIS array of the form [AIS1 AIS2 AIS3 AIS4 AIS5 AIS6][3 0 4 5 3 0];</em></u>

<u><em>The injury severity score (ISS) for the entered array is 50</em></u>

<u><em /></u>

You might be interested in
When preparing a photo for a magazine, a graphic designer would most likely need to use a program such as Microsoft Excel to kee
UNO [17]

Answer:

Adobe Photoshop To Manipulate The Photo.

Explanation:

BLACKPINKS new album is amazing OMG I LOVE Lovesick Girls!!!

3 0
3 years ago
Earth’s atmosphere helps block out poisonous rays of radiation from outer space, thus helping support life on Earth.
anyanavicka [17]
The answer to this is True.
4 0
3 years ago
Interruption attacks are also called ___ attacks:
Lelu [443]

Answer:

Interruption attack are also referred to as Denial Of Service(DOS) attack.

Explanation:

Interruption attack are also called denial of service.The main aim of  interruption attack or Denial Of Srvice attack is to make resources unavailable.

For example:- wordpress.com had an DOS attack that took down their servers hence the service was unavailable for it's users.

Hence we conclude that the answer to this question is Denail of Service (DOS).

4 0
3 years ago
When creating a table in html, ____ marks the content of a header cell.?
alexandr402 [8]
<th> .............,........
8 0
3 years ago
We are continuously sending and receiving messages that may change midstream. This illustrates that____________.
8_murik_8 [283]

Answer:

Communication is a constant process and it can also be corrupted.

Explanation:

Communication is the ability to send and receive messages that can be understood. We constantly communicate with our environment verbally and or orally, using signs and language to express ourselves.

Messages sent can and should be decoded for communication to be complete. It can be corrupted on its path to the decoder, this hinders understanding.

6 0
3 years ago
Other questions:
  • What are the five steps of ethical hacking?
    15·1 answer
  • _______________ when operating in an extremely time-constrained environment. They offer the advantage of rapid distribution, but
    6·1 answer
  • Small programs called _______ are used to communicate with Paris Friel devices such as monitors printers portable storage device
    9·1 answer
  • If you are viewing a webpage with customized or regenerated content, such as updated stock quotes, what type of webpage are you
    14·1 answer
  • Difference between query and filter<br><br>​
    12·1 answer
  • If your computer system is not working correctly, you can use System Restore to return the ___________ ____________ to an earlie
    10·1 answer
  • Using a script (code) file, write the following functions:
    13·1 answer
  • Assume the existence of an UNSORTED ARRAY of n characters. You are to trace the CS111Sort algorithm (as described here) to reord
    14·1 answer
  • URGENT!!!
    9·1 answer
  • "Rights and duties are two sides of the same coin." Explain with examples​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!