clc; ApdB=-3; Ap=10^(ApdB/10); Pout=0.05; //watt Pin=Pout/Ap; //watt disp('mW',Pin*1000,"Pin=");