-
Notifications
You must be signed in to change notification settings - Fork 3
Home
tlatsas edited this page May 12, 2012
·
5 revisions
Matlab functions that emulate popular line coding techniques. They (mostly) work with GNU Octave too.
> d = [ 0 1 0 0 1 1 0 0 0 1 1 ];
> u_nrzl(d)
> d = [ 0 1 0 0 1 1 0 0 0 1 1 ];
> p_nrzl(d)
> d = [ 0 1 0 0 1 1 0 0 0 1 1 ];
> nrzi(d)
> d = [ 0 1 0 0 1 1 0 0 0 1 1 ];
> manchester(d)
> d = [ 0 1 0 0 1 1 0 0 0 1 1 ];
> diff_manchester(d)
> d = [ 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 ];
> b8zs(d)
> d = [ 0 1 0 0 1 1 0 0 0 1 1 ];
> b_ami(d)