
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















Unipolar Scheme:
Polar Schemes
Return to Zero (RZ):
Biphase Manchester and Differential Manchester:
Line Coding in MATLAB Function For Biphase Manchester
Function For Biphase Manchester (Cont…) for i = 0:length(bits)- 1 if bits(i+1) == 1 x(in+1:(i+0.5)n) = 1; x((i+0.5)n+1:(i+1)n) = - 1; else x(in+1:(i+0.5)n) = - 1; x((i+0.5)n+1:(i+1)n) = 1; end end
Function For Polar RZ (cont…) for i = 0:length(bits)- 1 if bits(i+1) == 1 x(in+1:(i+0.5)n) = 1; x((i+0.5)n+1:(i+1)n) = 0; else x(in+1:(i+0.5)n) = - 1; x((i+0.5)n+1:(i+1)n) = 0; end end
Function For Unipolar RZ (Cont…) for i = 0:length(bits)- 1 if bits(i+1) == 1 x(in+1:(i+0.5)n) = 1; x((i+0.5)n+1:(i+1)n) = 0; else x(in+1:(i+1)n) = 0; end end