PageRenderTime 17ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/dvbt/trunk/debug/mm/ml/forge_gcalc/int2hex4.m

http://github.com/zaqwes8811/decoder-reed-solomon
Objective C | 11 lines | 10 code | 1 blank | 0 comment | 1 complexity | e5eaba80c86a1396070823eb58c67953 MD5 | raw file
 1% ??? ? ??????????????? hex
 2function cRez = int2hex4(iInp)
 3cRez = [];
 4tmp = 0;
 5for i = 1:4
 6	tmp = mod(iInp, 16);
 7	iInp = (iInp-tmp)/16;
 8	% ?????? ??????????
 9	cRez = [dec2hex(tmp) cRez];
10end
11