Question: Traffic Engineering Engineers often analyze traffic flow patterns in urban areas to determine settings for traffic control devices such as traffic lights. The figure below

Traffic Engineering
Engineers often analyze traffic flow patterns in urban areas to determine settings for traffic
control devices such as traffic lights. The figure below shows the flow of downtown traffic in a
certain city during the rush hours on a typical day.
The arrows indicate the direction of traffic flow on
each one-way road, and the average number of
vehicles per hour entering and leaving each
intersection appears beside each road.
5 th Avenue and 6th Avenue can each handle up
to 2000 vehicles per hour without causing
congestion, whereas the maximum capacity of
both 4th Street and 5th Street is 1000 vehicles
per hour. The flow of traffic is controlled by traffic
lights installed at each of the four intersections.
a) Arrange this information into a system of equations describing the traffic flow in terms of x1,
x2,x3,x4. You should have 4 equations (one for each intersection), and not all xi terms will
appear in each equation (in other words, the coefficients will be zero for some x terms in
some equations). The intersection at 4thSt&5th Ave has been done for you as an example.
vehicles in= vehicles out 300+1200=x1+x41x1+0x2+0x3+1x4=1500
b) Write MATLAB statements to define the arrays for this system of equations:
c) Try to solve the system of equations in MATLAB using x= Alb. What is the result?
d) Use the rank and length functions to demonstrate that the system is underdetermined (i.e.,
has an infinite number of solutions). Show commands and results.
Traffic Engineering Engineers often analyze

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Civil Engineering Questions!