⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bi2de.m

📁 20072010.rar:tubor,LDPC,convolution的部分代码
💻 M
字号:
function d = bi2de(varargin)
%BI2DE Convert binary vectors to decimal numbers.
%   D = BI2DE(B) converts a binary vector B to a decimal value D. When B is a
%   matrix, the conversion is performed row-wise and the output D is a column
%   vector of decimal values. The default orientation of the binary input
%   is Right-MSB; the first element in B represents the least significant bit.
%
%   In addition to the input matrix, two optional parameters can be given:
%
%   D = BI2DE(...,P) converts a base P vector to a decimal value.
%
%   D = BI2DE(...,FLAG) uses FLAG to determine the input orientation.  FLAG has
%   two possible values, 'right-msb' and 'left-msb'.  Giving a 'right-msb' FLAG
%   does not change the function's default behavior.  Giving a 'left-msb'
%   FLAG flips the input orientation such that the MSB is on the left.
%
%   Examples:
%   

⌨️ 快捷键说明

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