Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Plot Radiation Pattern in Matlab
Date: Fri, 3 Jul 2009 01:19:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <h2jma5$mni$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246583941 23282 172.30.248.38 (3 Jul 2009 01:19:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 3 Jul 2009 01:19:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1541543
Xref: news.mathworks.com comp.soft-sys.matlab:552585


Dear Friends,

I am asking for your help. 

I have calculated the gain function of the line source:   Gain=2*pi*P1/P2.

I would like to plot in Matlab Gain in dB:  10log10(Gain). 
What is the easiest way to do it?

Thank you in advance.

Best Regards,
V.J.