This commit is contained in:
2024-02-06 20:54:06 +08:00
parent f5c9f10e0d
commit 3311cbd1db
+2 -2
View File
@@ -395,7 +395,7 @@ ipnCovar = rxIpn*rxIpn';
weight = ipnCovar\sigMF/(sigMF'*(ipnCovar\sigMF));
% = inv(ipnCovar)*sigMF/(sigMF'*inv(ipnCovar)*sigMF);
% nomarlized output SINR
% normalized output SINR
sinrIdeal = snr(1)+pow2db(elemNum);
sinrOut(elemNumIdx,intAngIdx) = pow2db(var(weight'*rxSig)/ ...
var(weight'*rxIpn)) - sinrIdeal;
@@ -413,7 +413,7 @@ plot([min(intAngArr),max(intAngArr)],[-3,-3],HandleVisibility="off")
hold off
title('MVDR Output SINR v.s. Angular Difference')
xlabel('Angular Difference between Desigred and Interference Signal (°)')
xlabel('Angular Difference between Desired and Interference Signal (°)')
ylabel('Normalized Output SINR (dB)')
ylim([-5 max(smoothdata(sinrOut,2),[],'all')+1])