% Percentage of area of each annulus relative to total area
% Author: Michel Barbeau
% Version: January 4, 2015
% radii
R=[191   135   107    76    48    30    27    24];
% data rates
D=[15 30   45    60    90    120    135    150];
P=zeros(1,length(R));
for i=1:1:length(R)-1
    P(i)=(power(R(i),2)-power(R(i+1),2)) / power(R(1),2);
end
P(length(R))= power(R(length(R)),2) / power(R(1),2);
bar(P.*100);
xlabel('Data rate (in Mbps)');
ylabel('% of total coverage');

