Question: atlab code for NRZ - I Scheme output + V or - V or 0 V We are required to simulate some of the signal

atlab code for NRZ-I Scheme output +V or -V or 0V
We are required to simulate some of the signal encoding schemes that we learned in the class for encoding digital data into digital signals. In particular, we need to write a program that will accept digital data inputs and generate outputs of encoded signals expressed in a form described below. The program needs to accept two parameters: one is the name of the data file and the other is the code representing the required encoding scheme. Five encoding schemes need to be simulated, which are NRZ-L, NRZI, Bipolar-AMI, Manchester, and Differential Manchester. Their representation code is listed in the following table.
Scheme NRZ-L NRZ-I B-AMI Manchester D-Manchester Code 01234
For example, if the program name is ENCODE and the data file name is INPUT.DATA, then ENCODE INPUT.DATA 0 will encode the data in INPUT.DATA into signals with the NRZ-L encoding scheme and generate an output file named OUTPUT.SIGNAL. We assume that the synchronization is accomplished and we know the boundaries of the symbols in the signals. We assume that the data file stores 1010011010. The output of the program with the above command will be: +V -V +V -V -V +V -V +V
Where the vertical bar denotes the boundary of the symbols in the encoded signals. +V represents the positive voltage, -V represents the negative voltage, and 0V will represent no line signal when necessary.
What to hand in:
1. The description of each encoding scheme and its implementation details in your simulations.
2. A sample data file storing 101010101010 and the corresponding output file.
3. The source code with detailed comments.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!