Matlab Convolution coder help
I need some help creating a convolution coder for my school assignment.
1. One option to do this is, to create a model (example cc_model.mdl has 2 inputs, 4 outputs and a 1 memory block). I would need to create a working model CC (4; 3, 8) with 3 inputs, 4 outputs and a 1 memory block (8 is the constraint length). And then incorporate that to the matlab script which I have.
2. Another way to go about this is using the convolution coder block in simulink and use the poly2trellis command, but I have no idea what the parameters should be.
· x2 = reshape(x,length(x)/K,K);
I'm pretty new to matlab so help with either one of these options would be greatly appreciated.
poly2trellis(?, [? ?])