简单compare相关性来逐个选取
R = V1*V2’;
ui = smallest®;
code
%MU_MIMO_Schedule.m MU配对逻辑
% core: smallest relative users schedule together; R = V1V2', min norm_f(R)
% 1 find strong user0; 2 find smallest relative R(Sta0,Sta1); 3 find
% samllest relative R(Sta(n-1), Sta(n)); 4 End
M = 11; % users number
N = 4; % select user; suppose user0 the strong user
m = 4; n = 2;
V = {};
for ii = 1:M
V{end+1} = (randn(m,n) + 1j*randn(m,n))/sqrt(2);
end
Idx = [1];
R = [];
Rv = [];
for ii = 1:(N-1)
Rtmp = [];
for jj = 1:M
Rtmp(end+1) = norm( V{ Idx(end) }* conj(V{jj}'), 'fro');
end
R = [R; Rtmp];
Rtmp(Idx) = 100;
[a,b] = min(Rtmp);
Idx(end+1) = b;
Rv(end+1) = Rtmp(b);
end
Idx
Rv
% function V = GenV(m,n)
% sq2 = 1/sqrt(2);
% V = sq2*(randn(m,n) + 1j*randn(m,n));
% end
% function R = Relat(V1,V2)
% R1 = V1*conj(V2');
% end

该博客介绍了如何使用最小相对范数(smallest relative norm)选择算法进行MU-MIMO(多用户多输入多输出)系统的用户配对。通过计算不同用户之间的相关矩阵,并选取具有最小相关性的用户进行配对,以优化系统的性能。算法首先确定一个强用户,然后逐步寻找与其相关性最小的其他用户进行配对,直至达到预设的用户选择数量。博客中还提供了MATLAB代码示例来演示这一过程。
1万+





