| fsm::fsm(int k, int n, const std::vector<int>& G)
I am doing some experimentation with BPSK31 code generation which uses
Rate=1/2, Constraint length=5 convolutional code, polys are 0x17 and 0x19
now, k = 5 and n = 2, but how do I describe the polys in terms of array?
I though, being poly1=0b10111 and poly2=0b11001, I had to specify them as
a single array [1,0,1,1,1,1,1,0,0,1], but the comment talks about the generator matrix.
Unluckily any attempt to specify a matrix returns error, and the C code seems to
confirm an array is expected.
any help?
thank in advance
matteo
|