   <!-- Unauthorized use or redistribution prohibited. -->
   <!--     Luciano Boglione - MTT-14 Web Page (c)     -->

   function dB2num(x) {
     y = Math.pow(10,x/10);
     return y;
   }

   function num2dB(x) {
     y = (10 / Math.log(10)) * Math.log(x)
     return y;
   }

   function dBm2num(x) {
     y = 0.001 * Math.pow(10,x/10);
     return y;
   }

   function num2dBm(x) {
     y = (10 / Math.log(10)) * Math.log(x/0.001)
     return y;
   }
