Feeds
질문
How can I correct my m-file traffic simulation so that each of the eight traffic lights only becomes green or red based on the density count of cars at the two junctions?
clc; clear; % Parameters laneWidth = 7; roadWidth = 2 * laneWidth; mainLength = 200; junctionLength = 100; leftOffset = 5...
8개월 전 | 답변 수: 1 | 0