Skip to content

We are going to create all Line coding waves of Data Communication and Networking

Notifications You must be signed in to change notification settings

malivinayak/Line-Coding-Waves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Line-Coding-Waves

We are going to create all Line coding waves of Data Communication and Networking

Output

Enter number of input: - 40
Enter input (0's and 1's) :
0 1 0 0 1 1 1 0 1 0 1 0 0 0 1 1 1 1 0 1 0 1 0 0 1 1 1 0 1 0 1 0 0 0 1 1 1 1 0 1
Unipolar NRZ: - 

 0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1  0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1 
   ___      _________   ___   ___         ____________   ___   ___      _________   ___   ___         ____________   ___
___   ______         ___   ___   _________            ___   ___   ______         ___   ___   _________            ___   


Polar NRZ-L: - 

 0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1  0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1 
___   ______         ___   ___   _________            ___   ___   ______         ___   ___   _________            ___   
   ___      _________   ___   ___         ____________   ___   ___      _________   ___   ___         ____________   ___


Polar NRZ-I: - 

 0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1  0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1 
___         ___   ______      ____________   ___   ______      _________   ___      ______            ___   ___      ___
   _________   ___      ______            ___   ___      ______         ___   ______      ____________   ___   ______   


Polar RZ : - 

 0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1  0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1 
   _        _  _  _     _     _           _  _  _  _     _     _        _  _  _     _     _           _  _  _  _     _  
    |        |  |  |     |     |           |  |  |  |     |     |        |  |  |     |     |           |  |  |  |     | 
    |_       |_ |_ |_    |_    |_          |_ |_ |_ |_    |_    |_       |_ |_ |_    |_    |_          |_ |_ |_ |_    |_
  _     _  _           _     _     _  _  _              _     _     _  _           _     _     _  _  _              _   
 |     |  |           |     |     |  |  |              |     |     |  |           |     |     |  |  |              |    
_|    _| _|          _|    _|    _| _| _|             _|    _|    _| _|          _|    _|    _| _| _|             _|    


Manchester : - 

 0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1  0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1 
_    __  _    _  _  __    __    __  _  _    _  _  _  __    __    __  _    _  _  __    __    __  _  _    _  _  _  __    _
 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 
 |__|  |_ |__| _| _|  |__|  |__|  |_ |_ |__| _| _| _|  |__|  |__|  |_ |__| _| _|  |__|  |__|  |_ |_ |__| _| _| _|  |__| 


Diff-Manchester : - 

 0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1  0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1 
  __  _  _    __    _  __  _    _  _  _  __    __    _  __  _    _  _  __    __  _    _  __  _  _  _    __    __  _    _
 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 
_|  |_ |_ |__|  |__| _|  |_ |__| _| _| _|  |__|  |__| _|  |_ |__| _| _|  |__|  |_ |__| _|  |_ |_ |_ |__|  |__|  |_ |__| 


AMI : - 

 0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1  0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1 
   ___         ___      ___               ___   ___      ___            ___   ___         ___            ___   ___      
___   ______         ___   ___   _________            ___   ___   ______         ___   ___   _________            ___   
            ___   ___         ___            ___   ___         ___         ___      ___               ___   ___      ___


Pseudoternary : - 

 0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1  0  1  0  0  1  1  1  0  1  0  1  0  0  0  1  1  1  1  0  1 
___      ___               ___      ___               ___         ___            ___         ___   ___                  
   ___      _________   ___   ___         ____________   ___   ___      _________   ___   ___         ____________   ___
      ___            ___         ___   ___        ___      ___               ___      ___               ___   



THANK YOU___________________