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 MILESStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started