Skip to content

Line Coding Techniques - Unipolar, Polar, Bipolar, Mark and Space - MATLAB code

Notifications You must be signed in to change notification settings

Nikeshbajaj/Line-Coding-Waveform-Coding-NRZ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Line Coding or Waveform Coding NRZ

Line Coding Techniques - Unipolar, Polar, Bipolar, Mark and Space - MATLAB code

Important to note this that this is a function file not script, you need to pass parameters to execute this program.

####Step 1. Save "LC_nrz.m" in your current directory of MATLAB ####Step 2. define binary sequence a, e.g. a = [1 0 0 1 1 0 1 0 1 1] ####Step 3. then write [U P B M S]=LC_nrz(a)

###Explaination

'a' is input data sequence

U = Unipolar, P=Polar, B=Bipolar, M=Mark and S=Space

###Example

After saving file in your current directory, execute following

a = [1 0 1 1 0 1 1]
[U P B M S] = LC_nrz(a)

####===========================================

If any doubt, confusion or feedback please contact
PhD Scholar, University of Genova and Queen Mary University of London

About

Line Coding Techniques - Unipolar, Polar, Bipolar, Mark and Space - MATLAB code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages