Question: coded in matlab matlab In the ATCRBS system the transponder squawks at 4 digit code such as 1200. Where the left most digit is called
coded in matlab
matlab
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 ATCRB 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
20.75 MICROSECONDS OR 3.35 NAUTICAL MILES
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
