multfromrx.m
来自「在matlab中」· M 代码 · 共 26 行
M
26 行
function M = multFromRx(rxword,m)% M = multFromRx(rxword,m)%% Generate multiplicity matrix from received codeword. Arguments% are the received vector and the exponent m of the field GF(2^m)% in which the vector's elements lie. The order of elements for% the rows is 0,1,2,... in binary representation and for the% columns it is the power order of alpha.M = zeros(2^m,2^m-1);n = 2^m - 1;for i=0:n Js = find(rxword==i); for j=Js M(i+1,j) = 1; endend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?