Code covered by the BSD License  

Highlights from
Electromagnetic Waves & Antennas Toolbox

image thumbnail

Electromagnetic Waves & Antennas Toolbox

by

 

06 Feb 2004 (Updated )

Companion Software

db(Gab)
% db.m - absolute to dB units
%
% Usage: Gdb = db(Gab)
%
% Gab = power gain in absolute units
% Gdb = power gain in dB, Gdb = 10*log10(Gab)
%
% see also Gab = ab(Gdb) for the reverse operation

% S, J. Orfanidis - 1999 - www.ece.rutgers.edu/~orfanidi/ewa

function Gdb = db(Gab)

if nargin==0, help db; return; end

Gdb = 10*log10(Gab);

Contact us