Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

*MATLAB CODE HELP* Hi! can someone please help me with this MATLAB problem In the script file, compute the mean delay from each airport on

*MATLAB CODE HELP* Hi! can someone please help me with this MATLAB problem

In the script file, compute the mean delay from each airport on each of the following dates: 11/26/2013, 11/27/2013, 11/28/2013, 11/29/2013, and 11/30/2013. These delays should be stored in a 5 x 6 matrix. Each row of the matrix corresponds to a date and each column of the matrix corresponds to an airport. Hint: Nested For Loop with one loop going through airports and one loop going through dates.

Bar Chart: -The mean delay time should be on the y-axis -The dates should be on the x-axis -Include a legend with the airports -Include a title -Include a label on the y-axis

image text in transcribed

4 8 7 Delay 1 DL F 2 Carrier Origin CVG 'DL 'CVG 'DL 'CVG 'DL 'CVG 'DL CVG 'DL 'CVG 'DL 'CVG 2 3 4 5 6 7 3 Date '11/22/2013 '11/22/2013 '11/22/2013 '11/22/2013 '11/22/2013 '11/22/2013 '11/22/2013 5 FlightNumber Destination 186 'BOS 330 ATL 523 'RSW 803 "MCO 1143 ATL 1303 "MCO 1345 'FLL 6 Depart '16:00 '12:05 09:40 09:30 08:25 '11:50 11:35 71 -1 -5 -3 -10 1 TIT F.Carrier is DL' for the entire dataset (Delta) *F.Origin is a cell array of the airport the flight departed from. There are six airports included: . 'CVG' (Cincinnati) ATL' (Atlanta) ORD' (Chicago), LAX' (Los Angeles) MIA' (Miami) *DFW' (Dallas-Fort Worth) F.Date is a cell array of dates ranging from 11/22/2013 thru 11/30/2013 * F.FlightNumber is a vector of flight numbers F. Destination is a cell array of destination airport codes * F. Depart is a cell array with scheduled departure times using a military clock * F.Delay is a vector of numbers with the departure delay in minutes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions

Question

=+5 Evaluate whether the CCT program was effective.

Answered: 1 week ago

Question

=+Identify the type of global assignment for which CCT is needed.

Answered: 1 week ago