Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Basics Computer EngineeringInformation Warehouse Basics From Science

Authors: Odiljon Jakbarov ,Anvarkhan Majidov

1st Edition

620675183X, 978-6206751830

More Books

Students also viewed these Databases questions