Constellation diferences - function called bin2gray

Status
Not open for further replies.

Aya2002

Advanced Member level 4
Joined
Dec 12, 2006
Messages
1,140
Helped
184
Reputation
376
Reaction score
117
Trophy points
1,343
Location
Iraq
Activity points
8,006
Constellation diferences

Hi my Friends,

I found out that in matlab there is a function called bin2gray which converts from binary to gray coding, but as i saw, i have a results differ from what i expect !!! where the matlab results for 16QAM is


while in one of the books such as "Single- and Multi-carrier Quadrature Amplitude Modulationrinciples and Applications for Personal Communications, WLANs and Broadcasting" by L. Hanzo, W.T. Webb, T. Keller , the constellation is



and in a website "http://www.dsplog.com/2008/06/01/binary-to-gray-code-for-16qam/" the mapping is



now i am so confused, which one is the correct?

thank you

Added after 5 minutes:

what is the general rule ?

Added after 2 hours 5 minutes:

in another reference i found this diagram
 

Constellation diferences

any help please
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…