use same frequencies and bandwidths for interferers

This commit is contained in:
2026-04-26 11:58:34 -07:00
parent e19e9870d7
commit 57a89d93d5
2 changed files with 26 additions and 1 deletions
+2
View File
@@ -15,6 +15,8 @@ function [SINR, SNR] = sensorPerformance(obj, agentPos, targetPos, otherSensorsP
[d, t, a] = obj.computePointToPoints(agentPos, targetPos);
% Performance is measured as SINR for this sensor
%% TODO: how should interference calculation be modified for
% interference sources with different center frequencies and bandwidths?
S = 10 .^ (0.1 .* obj.RSS(d, t, a)); % Signal
I = zeros(size(d)); % Interference from other agents
for ii = 1:size(otherSensors, 1)