?? gray2bi.m
字號:
function b = gray2bi( g )%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% GRAY2BI converts Gray encoded sequence into the binary %%% sequence. It is assumed that the most significant bit is %%% the left hand side bit. %%% %%% Comments and suggestions to: adrian@ubicom.tudelft.nl %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % copy the msb: b(:,1) = g(:,1); for i = 2:size(g,2), b(:,i) = xor( b(:,i-1), g(:,i) ); endreturn;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -