Gray2bin conversion
이전 댓글 표시
Hi I to gant to convert binary to gray.
K=[1 2 0 9];
K_1=dec2bin(K);
K_2=bin2gray(K_1);
The results of K_1 is
'0001'
'0010'
'0000'
'1001'
result of K_2 is
'0001'
How to get graycode values for K
답변 (1개)
KALYAN ACHARJYA
2019년 8월 31일
편집: KALYAN ACHARJYA
2019년 8월 31일
How to get graycode values for K?
K=[1 2 0 9];
K_1=dec2bin(K);
K_2=bin2dec(K_1)
댓글 수: 3
sadiqa ilyas
2019년 8월 31일
KALYAN ACHARJYA
2019년 8월 31일
편집: KALYAN ACHARJYA
2019년 8월 31일
What would be expected result?
Is this same as K ?
sadiqa ilyas
2019년 8월 31일
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!