求教关于错误检测编码算法的问题
用c语言实现以下功能:Coding on error dectecting algorithms(C++)
1.Cyclic redundancy check
Using the polynomials below to encode random generated data stream (40-100bits). Show the FEC, and encoded data frame.
CRC-4 x4+x+1 ITU G.704
CRC-16 x16+x15+x2+1 IBM SDLC
CRC-32 x32+x26+x23+...+x2+x+1 ZIP, RAR, IEEE 802 LAN/FDDI, IEEE 1394, PPP-FCS
For the error patter listed below, what the conclusion does the receiver get? Can the receiver find the errors?
Case Error pattern
No error 0000……0000
One error 1000…..000
Two errors 100….001
Random errors Random error pattern
2.Parity check
Using even or odd parity check on random generated data stream (8-20bits).
Show encoded data frame.
For the error patter listed below, what the conclusion does the receiver get? Can the receiver find the errors?
Case Error pattern
No error 0000……0000
One error 1000…..000
Two errors 100….001
我急等用,求大神给予解答或者讲解一下。