1 2 3 4 5 6 7 8 9 10 11
clear // //Initialisation P=1400 //Power gain //Calculation pdb=10*log10(P) //Power Gain in dB //Result printf("\n Power Gain (dB) = %.1f dB",pdb)