clc;
clf;
clear;
% heatmap of wi-fi signals in K305


subplot 331;
%eduroam channel 4
%B6 = 4/5*49 + 58*1/5 = 50.8
A = [45 45 45; 45 45 45; 45 45 46; 47 45 49; 46 46 49; 45 50.8 50; 58 49 47; 46 49 53.5; 47 51.25 47];
colormap('hot');
imagesc (A);
colorbar('SouthOutside');
%colorbar('YTickLabel',...
 %   {'Fine','Strong','Good','Fair','Low','Weak'});
title ('RSSI of AP1');
caxis ([45 90]);
xlabel ('column');
set(gca,'XTick',[1 2 3]);
ylabel ('row');


subplot 332;
%AP2 = eduroam channel 13
B = [62 59.5 64; 65.5 64 60; 64 66 65; 66.5 66 66.5; 68.5 65.5 67; 72.5 67 68.5; 72.5 72.5 73; 73 72 73; 73 74 82];
colormap('hot');
imagesc (B);
colorbar('SouthOutside');
title ('RSSI of AP2');
caxis ([45 90]);
xlabel ('column');
set(gca,'XTick',[1 2 3]);
ylabel ('row');


subplot 333;
%AP3 = eduroam channel 10
C = [66.5 68.5 71.5; 71.5 65 71; 64 66 67; 64.5 68 66.5; 61.5 66.5 67; 57 68.28 65; 66 58 66; 62.5 64 62.5; 65.5 67 66];
colormap('hot');
imagesc (C);
colorbar('SouthOutside');
title ('RSSI of AP3');
caxis ([45 90]);
xlabel ('column');
set(gca,'XTick',[1 2 3]);
ylabel ('row');


subplot 334;
%AP4 = BagR channel 12
D = [73 74 78.5; 70 73 72; 74 72 78; 73 74 73; 73.5 76 82; 73 77.5 78.5; 72.5 72 77.5; 73.5 72 73; 73 73 73.5];
colormap('hot');
imagesc (D);
colorbar('SouthOutside');
title ('RSSI of AP4');
caxis ([45 90]);
xlabel ('column');
set(gca,'XTick',[1 2 3]);
ylabel ('row');


subplot 335;
%AP5 = julka channel 13
E = [72 79.5 90; 78 77.5 73; 76 82 82; 78 73 82; 82 73 82; 73 72 73; 73 91 73; 78 82 77.5; 87 87 86.5];
colormap('hot');
imagesc (E);
colorbar('SouthOutside');
title ('RSSI of AP5');
caxis ([45 90]);
xlabel ('column');
set(gca,'XTick',[1 2 3]);
ylabel ('row');


subplot 336;
%AP5 = elissei.com channel 12
F = [72 73 82; 77.5 67 78; 73 75 83; 74 72 75; 72.5 74.5 73; 73 74 73; 74 67 80; 72 73 73; 72 70 78];
colormap('hot');
imagesc (F);
colorbar('SouthOutside');
title ('RSSI of AP6');
caxis ([45 90]);
xlabel ('column');
set(gca,'XTick',[1 2 3]);
ylabel ('row');


subplot 337;
%AP5 = K401 channel 6
G = [77.5 78 80; 74 77.5 78; 73 82 80; 77.5 78 78; 74 78 78; 79 87 78; 95 74 91; 75 82 91; 91 91 74];
colormap('hot');
imagesc (G);
colorbar('SouthOutside');
title ('RSSI of AP7');
caxis ([45 90]);
xlabel ('column');
set(gca,'XTick',[1 2 3]);
ylabel ('row');