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 NRZI Scheme output V or V or V
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 NRZL NRZI, BipolarAMI, Manchester, and Differential Manchester. Their representation code is listed in the following table.
Scheme NRZL NRZI BAMI Manchester DManchester Code
For example, if the program name is ENCODE and the data file name is INPUT.DATA, then ENCODE INPUT.DATA will encode the data in INPUT.DATA into signals with the NRZL 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 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 V will represent no line signal when necessary.
What to hand in:
The description of each encoding scheme and its implementation details in your simulations.
A sample data file storing and the corresponding output file.
The source code with detailed comments.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
