I'm trying to impelement a convolutional encoder with the structure as follows. The input u1 an u2 are Bernoulli binary.
The initial state S of the of the registers s1,s2,s3 is [0 0 0], and I want to run the encoder once, get the end state S' of s1,s2,s3, then set the end state S' as the initial state for the next convolutional encoder with the same structure.
Simulink applies a convolutional encoder block, with the input and output (ISt and FSt)to set and save the initial and end state of the registers.
But I have no idea how to set the parameters of Trellis structure, the structure in figure 3-12 seems not available to be set by using poly2trellis( )function.