Path: news.mathworks.com!not-for-mail
From: "Sprinceana " <mihaispr@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Plot Radiation Pattern in Matlab
Date: Fri, 3 Jul 2009 07:18:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 29
Message-ID: <h2kbb9$erf$1@fred.mathworks.com>
References: <h2jma5$mni$1@fred.mathworks.com>
Reply-To: "Sprinceana " <mihaispr@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246605481 15215 172.30.248.37 (3 Jul 2009 07:18:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 3 Jul 2009 07:18:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1740796
Xref: news.mathworks.com comp.soft-sys.matlab:552624


"Tato Jandieri" <vjandieri@yahoo.com> wrote in message <h2jma5$mni$1@fred.mathworks.com>...
> 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. 

If you tell us which represent P1 and P2 as values (or by what formulas are done) we can help you.


Also explain if there is a formula involved in computing P1 and P2 the value of other variables that enter in your formula.

Waiting for your complete answer!

Thanks!

You have to use the plot function but if you give me the values of P1 and P2 (or formulas) I try to help you!

Best regards,

Michael