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:
%% Initialization of the code
% The code takes an array of six AIS scores of the form [AIS1 AIS2 AIS3
% AIS4 AIS5 AIS6] of order 1x6.
AIS=input('Please enter the AIS array of the form [AIS1 AIS2 AIS3 AIS4 AIS5 AIS6]');%taking input of the array
AISs=sort(AIS,'descend');%sorting the array in the descending order
iss=(AISs(1,1)^2)+(AISs(1,2)^2)+(AISs(1,3)^2);%Calculating the ISS
disp(['The injury severity score (ISS) for the entered array is ', num2str(iss)])%Displaying the output
Output:
Please enter the AIS array of the form [AIS1 AIS2 AIS3 AIS4 AIS5 AIS6][3 0 4 5 3 0];
The injury severity score (ISS) for the entered array is 50