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

1 次查看(过去 30 天)
whats the MATLAB command that do this task ??

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-9-9
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)
??

类别

Help CenterFile Exchange 中查找有关 Error Detection and Correction 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by