0% found this document useful (0 votes)
41 views1 page

Convolution Line Coding: c1 (1 0 1) c2 (1 1 1) D (1 0 0 1 1) y Conv (c2, D) Z Conv (c1, D) I 1:1:7 y (I) 2 y (I) 0

This document performs convolution line coding on two convolution codes c1 and c2 with data vector d. It convolves c1 and c2 with d to produce outputs y and z. Values of 2 in y and z are replaced with 0. The outputs y and z are then combined using weighted summation and stored in vector x.

Uploaded by

Ameya Kadam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

Convolution Line Coding: c1 (1 0 1) c2 (1 1 1) D (1 0 0 1 1) y Conv (c2, D) Z Conv (c1, D) I 1:1:7 y (I) 2 y (I) 0

This document performs convolution line coding on two convolution codes c1 and c2 with data vector d. It convolves c1 and c2 with d to produce outputs y and z. Values of 2 in y and z are replaced with 0. The outputs y and z are then combined using weighted summation and stored in vector x.

Uploaded by

Ameya Kadam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Convolution line coding

c1=[1 0 1];
c2=[1 1 1];
d=[1 0 0 1 1];
y=conv(c2,d);
z=conv(c1,d);
for i=1:1:7
if y(i)==2
y(i)=0;
end
end
for i=1:1:7
if z(i)==2
z(i)=0;
end
end
y
z
for i=1:1:7
x(i)=y(i)*10+z(i);
end
x

You might also like