bittodoubleword.m

来自「gsm的物理层仿真实现」· M 代码 · 共 13 行

M
13
字号
%****************************************************************
% 内容概述:64bit change to dec 
% 创 建 人:李彩
% 单    位:Starpoint
% 创建时间:2008年
%参考TS 45.003
%****************************************************************
function doubleword = bittodoubleword(bit)
temp1 = bit(1:16);
temp2 = bit(17:32);
temp3 = bit(33:48);
temp4 = bit(49:64);
doubleword = bittohex(temp1)*2^48+bittohex(temp2)*2^32+bittohex(temp3)*2^16+bittohex(temp4);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?