d=[0 1 2 3 4 5  8 10 20]; v=-d./10;
w=log10(1+10.^v)