My understanding is that the constructor takes first k=1 and then n=2 as a
parameter
for an (n,k) code, so it should be:
trellis.fsm(1,2,[0b11001,0b10111])

Achilleas

//######################################################################
//# Automatically generate the FSM from the generator matrix
//# of a (n,k) binary convolutional code
//######################################################################
fsm::fsm(int k, int n, const std::vector<int>& G)

Reply via email to