Question
Write a MATLAB program that completes the following tasks: 1. Load the data from the fuel_totalizer.txt file into a matrix. 2. Use a for loop
Write a MATLAB program that completes the following tasks:
1. Load the data from the fuel_totalizer.txt file into a matrix.
2. Use a for loop to calculate the quantity of fuel consumed during each minute of the flight. Write the output in lbs to a new matrix. Think carefully about how you will make this calculation for the first minute.
Here is the text file: https://www.dropbox.com/s/i5bo4kfra69yf43/fuel_totalizer.txt?dl=0
3. Use your for loop to also calculate the average fuel flow rate in pounds per second (lbs/s) for each minute of the flight. Write the output to a new matrix.
4. Use your for loop to find the total fuel consumption through the flight. Check to make sure this total is correct.
5. Calculate the average fuel consumption rate for the entire flight in lbs/hour.
6. The rate of fuel consumption is much higher when the aircraft is taking off and climbing to cruising altitude. Assuming the fuel flow rate is at least 1.5 times the average rate during takeoff and climb, how many minutes did the takeoff and climb phase of the flight last? You will want to restrict this search to the first half of the dataset.
Bonus: Use a for loop to find the maximum fuel flow rate in lbs/s, and report the rate and the minute when it occurs.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started