hosmatrix.m
来自「Second and Higher-Order Statistics based」· M 代码 · 共 25 行
M
25 行
function A = hosmatrix(N,r)
% hosmatrix.m
%
% This function generate a matrix consists of only 1 and 0 for the
% phase estimation method proposed in the following paper.
%
% Reference:
% [1] Binning Chen and Athina P. Petropulu, "Frequency Domain Blind
% MIMO System Identification Based On Second- And Higher-Order
% Statistics," IEEE Transactions on Signal Processing,
% vol. 49(8), pp. 1677-1688, August 2001.
%
% Communications and Signal Processing Laboratory
% ECE Department, Drexel University
% Philadelphia, PA 19104, USA
% http://www.ece.drexel.edu/CSPL
%-------------------------------------------------------------------------------
A=diag(ones(N-r-1,1),r)+diag((-1)*ones(N-1,1));
b=diag(ones(r-1,1),r-N);
if (nnz(b) > 0)
A = A+b;
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?