/dvbt/trunk/debug/mm/ml/forge_gcalc/int2hex4.m
http://github.com/zaqwes8811/decoder-reed-solomon · MATLAB · 11 lines · 8 code · 1 blank · 2 comment · 1 complexity · e5eaba80c86a1396070823eb58c67953 MD5 · raw file
- % ??? ? ??????????????? hex
- function cRez = int2hex4(iInp)
- cRez = [];
- tmp = 0;
- for i = 1:4
- tmp = mod(iInp, 16);
- iInp = (iInp-tmp)/16;
- % ?????? ??????????
- cRez = [dec2hex(tmp) cRez];
- end