parameter value conversion on GUI
Dan Morphis
dan at milkcarton.com
Sat Jul 1 16:05:19 EDT 2017
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 <toyeyemi at ipnxnigeria.net> 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
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
More information about the Users
mailing list