The bin2gray function does not generate a gray code in R2011a.
显示 更早的评论
I used [y,map]=bin2gray(1,'qam',16); to get the map, then z=dec2bin(map) to list the binary numbers to the command window. Transitions from 3rd to 4th, 7 to 8, etc., involve two transitions at once, while a Gray code is designed such that only a single bit changes at a time. I assume this has been found and fixed, but I wanted to verify I wasn't doing something wrong.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 QAM 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!