I'm trying to plot a -20dB/dec line on MATLAB but can't seem to get it correct. I know that a linear line in a loglog plot is actually an exponential curve in the linear scale.

So writing a y = mx + c where m is -20dB/decade is not quite right in MATLAB. The closest I could get to a straight line was using this code below, but as you can see it is not the correct slope or the correct magnitudes.
I have also tried to back calculate it, but haven't solved it. Please help!
Frx = logspace(1,8,100);
y = zeros(length(Frx),1);
for i = 1:length(Frx)
y(i) = 10^(-0.01*(log10(Frx(i))));
end
figure;
loglog(Frx,y);grid on