subject

Fish Sorter You are developing an automated process for sorting fish caught by a trawler, and 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. Your program should: Take user input for the weights (kg) of all fish from the haul as a vector Use a loop to determine the total weight for each grade fish in the haul, and the total income for each grade of fish Determine the total income resulting from selling the haul Output a detailed invoice including the weight of each grade of fish, the total income for each grade of fish, and the total income from the entire haul Use the following fish categories Grade Use Price ($/kg) Range (kg) S Whole Fish 20 30 < weight A Fillet 15 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: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:30
Agood flowchart alludes to both the inputs and outputs you will need to receive and give to the user. true or false?
Answers: 3
question
Computers and Technology, 24.06.2019 17:30
When you type january in a cell, then copy it using the fill handle to the cells below and the data automatically changes to february, march, april, and so on, what is this feature called? auto fill automaticcopy monthfill textfill
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
Is a type of bullying that takes place when a person intentionally posts negative information about another person that is not true.
Answers: 2
question
Computers and Technology, 24.06.2019 19:00
Which of the following "invisible" marks represents an inserted tab?
Answers: 1
You know the right answer?
Fish Sorter You are developing an automated process for sorting fish caught by a trawler, and want t...
Questions
question
Mathematics, 27.06.2020 02:01