Re: trellis in matlab
Many thanks for the reply.
My problem now is when I test the istrellis i got that the trellis is not correct.
for example the trellis:
trellis= struct('numInputSymbols',2,'numOutputSymbols',2, 'numStates',4,'nextStates',[0 0;1 0;0 1;1 1],'outputs',[0 1;0 1;-1 0;-1 0])
when I run the command:
[isok,status] = istrellis(trellis)
I get:
The 'outputs' field must be an octal matrix with numStates rows and numInputSymbols columns.
and the problem is that I use and negative value as an output...
Any suggestions?