generate a crc bit using P(x)= 1 1 0 1 0 0 1 0 10 and G(x)=x3 + x +1

1 view (last 30 days)
whats the MATLAB command that do this task ??

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 9 Sep 2019
Matlab Documentation here
I tried to implement the CRC from here
%Transmitter:
disp('###### Transmitter ######');
p=[1 1 0 1 0 0 1 0 1 0];
g=[1 0 1 1]; %G(x)=x3 + x +1
[quot_t rem_t]=gfdeconv(p,g)
disp('###### Receiver ######');
[quot_r rem_r]=gfdeconv([p,rem_t],g)
??

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!