f1=4:4:200;
f2=204:4:1000;
g=ones(1,50);g1=ones(1,200);
for i=1:length(f1);
   g(i)=-40;
end
for j=1:200
   
   g1(j)=-35;
end
g2=[g g1];
f=4:4:1000;

g3=-40*ones(size(f));  
   
%g1=-40*ones(size(f1));
%g2=-35*ones(size(f2));
g2=[g,g1];
plot(f,g2, '.')
axis([4 1000 -50 -30]);
hold on 
plot(f,g3)
xlabel('Frecventa in kHz')
ylabel('DSP (dBm/Hz)')
gtext('Nivel de putere normal= -40 dBm')
gtext('Nivel de putere crescut= -35 dBm')


