ECE 515
For a (7,4) cyclic code, use matlab for the polynomial 1 + 2 + 3 .
a. encode the following sequences
[1 0 0 1]
[1 1 0 0]
b. Decode the transmitted sequence in Question (a) above.
c. Solve Question 8.26 a,b, c from the textbook (4th Edition).
d. Us
ECE 515 HW1
A20322954
Prashanth Molakala
Matlab code for solving transfer function of the system in 8.26(textbook) using Masons gain formula:
clear all;
close all;
clc;
syms D N J;
0orward path gains
f1 = (D^3*N*J)*(D*J)*(D^2*J);
f2 = (D^3*N*J)*(D^2*N*J)*
ECE 515 HW1
A20322954
Prashanth Molakala
Matlab code for encoding and decoding of message sequences using (7,4) cyclic code and generator
polynomial:
clear all;
close all;
clc;
NULLector representation of generator polynomial
g = [1 0 1 1];
disp('generato
ECE 515 HW1
A20322954
Prashanth Molakala
Matlab code for encoding and decoding of message sequences using (7,4) cyclic code and generator
polynomial:
clear all;
close all;
clc;
NULLector representation of generator polynomial
g = [1 0 1 1];
disp('generato
nnnnnnnn
nnn
nnn
n
n
nn
n
(
nn
n nn
n( n
' n
nn
nn
n
nn
n
n nn '
.
: :
:
:
nnnnnnnn
nn
nn
(
n
n
' n '
n( n
'
nn
n
n
: :
nnnnnnnn
nn
n n nn n
s s n
nn
n n
n nn
n
nnnn
(
.nn
nn '(
n
n
n
n ' n
.nn '(
.n
n
.n
nn nnnn
hnnn
(
n ' n
. nn nnnn
nn nnnn
n
nn nnn