function o= dbmtowatt (dbm)
o = 10^((dbm-30)/10)