f1=4:2:200;
f3=202;
f2=204:2:1000;m=length(f2);
g=ones(1,99);g1=ones(1,m);
for i=1:length(f1);
   g(i)=-40;
end
for j=1:399
   
   g1(j)=-34;
end
g4=-37;
g2=[g g4 g1];
f=4:2: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/Hz')
gtext('Nivel de putere crescut= -34 dBm/Hz')


