📄 hosmatrix.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -