|
From: | Arturo Rinaldi |
Subject: | [Discuss-gnuradio] gray code in D8PSK |
Date: | Tue, 19 Jan 2010 20:07:44 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
just a simple question....why in D8PSK is the gray coding and decoding
the following ? # ----------------------- # Do Gray code # ----------------------- # binary to gray coding -- constellation does Gray coding binary_to_gray = { 2 : range(2), 4 : [0,1,3,2], 8 : [0, 1, 3, 2, 7, 6, 4, 5] #8 : [0, 1, 3, 2, 6, 7, 5, 4] <--------- why not this way in coding ? } # gray to binary gray_to_binary = { 2 : range(2), 4 : [0,1,3,2], 8 : [0, 1, 3, 2, 6, 7, 5, 4] } i was surprised to find a difference in bynary_to_gray and gray_to_binary in mapping the eight symbols ! ! ! could you please explain me the reason ? thx in advance |
[Prev in Thread] | Current Thread | [Next in Thread] |