magouliana
Newbie level 4
Hi,
I want to generate a trellis in matlab. The constraingth length is 3 and the code is [1+D^2]. The problem is that my outputs must be 0 or 1 or -1. As I saw in poly2trellis function the output is only positive.
Can you suggest me anything? Thanks in advance.
The state table is the following
in cur nxt out
1 00 00 0
0 00 10 1
1 10 01 0
0 10 11 1
1 01 00 -1
0 01 10 0
1 11 01 -1
0 11 11 0
I want to generate a trellis in matlab. The constraingth length is 3 and the code is [1+D^2]. The problem is that my outputs must be 0 or 1 or -1. As I saw in poly2trellis function the output is only positive.
Can you suggest me anything? Thanks in advance.
The state table is the following
in cur nxt out
1 00 00 0
0 00 10 1
1 10 01 0
0 10 11 1
1 01 00 -1
0 01 10 0
1 11 01 -1
0 11 11 0