subject

You are developing an automated process for sorting fish caught by a trawler, and you want to keep track of information from each haul. Fish are separated by weight, and assigned quality and market categories accordingly, each with separate prices per kilogram. Create a MATLAB program that will take a vector of fish weights, and create a detailed summary of the haul, complete with count, total mass, and total price for each category of fish. 1) Your MATLAB script file should
a. Take user input for the weights (kg) of all fish from the haul as a vector.
b. Use a loop to determine the number of each grade fish in the haul, and the total income for each grade of fish.
c. Determine the total income resulting from selling the haul.
d. Output a detailed invoice including the total weight of each grade of fish, the total income for each grade of fish, and the total income from the entire haul.
e. Use the following fish categories Grade Use Price ($/kg) Range (kg) S Whole Fish 20 30 < weight Fillet 20 < weight <= 30 B Canning 10 < weight <= 20 Pet Food 5<= weight <= 10 Fish Extracts 1 0< weight <5
2) Create a sample run using the weight data in kg from the following haul of 15 fish as a vector: (3,1,55,21,17,7,9,11,32,29,2,8,15,1 0,4]

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
Which of the following methods could be considered a “best practice” in terms of informing respondents how their answers to an on-line survey about personal information will be protected? respondents are informed that investigators will try to keep their participation confidential; however, confidentiality cannot be assured. respondents are informed that a research assistant will transfer all the research data to a password-protected computer that is not connected to the internet, via a usb flashdrive. the computer is located in a research team member’s office. the investigator uses the informed consent process to explain her institution’s method for guaranteeing absolute confidentiality of research data. the investigator uses the informed consent process to explain how respondent data will be transmitted from the website to his encrypted database without ever recording respondents’ ip addresses, but explains that on the internet confidentiality cannot be absolutely guaranteed.
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
question
Computers and Technology, 24.06.2019 20:00
Individuals suffering from technology overload feel distressed when deprived of computers and mobile devices.true/fasle
Answers: 2
question
Computers and Technology, 24.06.2019 21:30
Along what line of action can the camera move to follow the movement of actors for screen direction? a. along a 90-degree arcb. along a 120-degree arcc. along a 180-degree arcd. along a 360-degree arc
Answers: 1
You know the right answer?
You are developing an automated process for sorting fish caught by a trawler, and you want to keep t...
Questions
question
Spanish, 26.04.2021 21:40
question
English, 26.04.2021 21:40
question
History, 26.04.2021 21:40
question
History, 26.04.2021 21:40
question
Mathematics, 26.04.2021 21:40
question
Social Studies, 26.04.2021 21:40
Questions on the website: 13722363