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

📄 decision.m

📁 这个第四代移动通信中
💻 M
字号:
function V_R_sort_decision = decision(V_R_opt_sort, V_R_sort, N_point_FFT);

% to do the "men xian pan jue"

[row_V_R_sort, column_V_R_sort] = size(V_R_sort);
% angle_opt_sort = angle(V_R_opt_sort)/pi;
% angle_sort = angle(V_R_sort)/pi;

power_max = max(abs(real(V_R_opt_sort(1,1))), abs(imag(V_R_opt_sort(1,1))));

for index_row = 1:row_V_R_sort
    for index_col = 1:column_V_R_sort
        if abs(real(V_R_sort(index_row, index_col)) - power_max) < 0.1
            V_R_sort_decision(index_row, index_col) = 0.2;
        end;
        if abs(imag(V_R_sort(index_row, index_col)) - power_max) < 0.1
            V_R_sort_decision(index_row, index_col) = 0.2*i;
        end;
        if abs(real(V_R_sort(index_row, index_col)) + power_max) < 0.1
            V_R_sort_decision(index_row, index_col) = -0.2;
        end;
        if abs(imag(V_R_sort(index_row, index_col)) + power_max) < 0.1
            V_R_sort_decision(index_row, index_col) = -0.2*i;
        end;
    end;
end;


%V_R_sort_decision = decision(V_R_opt_sort, V_R_sort, N_point_FFT);
test_div = V_R_sort_decision(:,:) ./ V_R_opt_sort(:,:)

⌨️ 快捷键说明

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