Question: MATLAB CODE please In the ATCRBS system the transponder squawks at 4 digit code such as 1200 . Where the left most digit is called
MATLAB CODE please


In the ATCRBS system the transponder squawks at 4 digit code such as 1200 . Where the left most digit is called A and the rightmost D. Each digit in the code represents is represented by 3 bits (octal). The system sends a sequence framing pulses and data bits. Framing pulses are always a logic one. To represent a 6 in the A slot, A4=1,A2=1,A1=0. You are to write 2 programs. The first program that reads in 4 octal digits and outputs the pulse sequence that would be transmitted. A one represents a pulse and a 0 represents no pulse. In addition, the data will be checked to contain only valid octal digits. If the data is not valid hex digits print "Data Corrupt" The second program reads in a string of ATCRBS pulses and displays the 4 octal digits the bits represent. Example: ATCRBS_OUT (3,4,5,6) 111011000001111 ATCRBS_IN('111011000001111') 3,4,5,6 Correctly transmit 4501 and 632740 pts Correctly receive 1562 and 444440 pts Reject illegal code 158210 pts What does the code 7600 mean? 5 pts What does the code 7400 mean? 5 pts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
