plotted 0 tilt SNR over range

This commit is contained in:
2026-04-22 08:16:20 -07:00
parent 69e11549b2
commit 6cb6dabcb5
+10 -2
View File
@@ -18,11 +18,19 @@ function f = plotParameters(obj)
% Sample SINR (SNR) function by distances, tilts % Sample SINR (SNR) function by distances, tilts
% using SINR method with no other transmitters defined is equivalent to SNR % using SINR method with no other transmitters defined is equivalent to SNR
s_x = obj.sensorPerformance(d, t); % don't define other sensors s_x = obj.sensorPerformance(d, t); % don't define other sensors
s_x = reshape(s_x, size(d_mg));
% Plot resultant sigmoid curves % Plot resultant sigmoid curves
f = figure; figure;
plot(d_values.', s_x(repmat((t_values == 0).', 1, size(d_values, 2))), "LineWidth", 2);
grid("on");
title("SNR vs Distance at 0 tilt");
xlabel("Distance (m)");
ylabel("SNR (dB)");
figure;
surf(d_mg, t_mg, s_x);
grid("on"); grid("on");
surf(d_mg, t_mg, reshape(s_x, size(d_mg)));
title("SNR vs Distance and Tilt"); title("SNR vs Distance and Tilt");
xlabel("Distance (m)"); xlabel("Distance (m)");
ylabel("Tilt (deg)"); ylabel("Tilt (deg)");