
z=linspace(-40.8,-40.2,51);
z1=[-34.1 -32.4 -31];
x0=0:4:200;
x1=[204 208 212];
w1=[-38 -36 -35.3];
u2=216:4:840;
w=ones(size(u2));
m=size(u2);
x3=[x0 x1 u2];



x2=216:4: 696;
x=[x0 x1 x2];
for i=1:157
   w(i)=-34-16*((u2(i)-216)/624.2)^10;
end
y4=[z w1 w];




y=ones(size(x2));
for i=1:121
   y(i)=-30-20*((x2(i)-216)/480.2)^10;
end
y0=[z z1 y];
plot(x,y0)
axis([0 1000 -50 -29]);
hold on
plot(x3,y4)
xlabel('Frecventa (kHz)');
ylabel('DSP (dBm/Hz)');
gtext('Bucla numarul 4');
gtext('Bucla numarul 8'); 