The algorithm is for you to write. I provided you with information on how parameter work and how to write one.
-dan > On Jul 1, 2017, at 11:16 AM, Tunde Oyeyemi <[email protected]> wrote: > > Thanks Dan for the explanation. However, the value is still in mW. How do I > embed my calculation to show in dBm as shown below. > > $P is the value in mW. > $M is the value in dBm that I need. > > $RxP = $P/10000000; > $log_10 = 10*log10($RxP*1000); > $M = sprintf "%.2f", $log_10; ($M is rounded up to 2 decimal places). > > > ‘Tunde Oyeyemi > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
