Path: news.mathworks.com!not-for-mail
From: "wang wang" <pligly@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to integrate a oscillating function with matlab numetically?
Date: Thu, 5 Jun 2008 13:35:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 32
Message-ID: <g28q27$p1s$1@fred.mathworks.com>
References: <g285ni$27j$1@fred.mathworks.com> <g28al3$5dh$1@fred.mathworks.com>
Reply-To: "wang wang" <pligly@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1212672903 25660 172.30.248.35 (5 Jun 2008 13:35:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 5 Jun 2008 13:35:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1407754
Xref: news.mathworks.com comp.soft-sys.matlab:472348



"John D'Errico" <woodchips@rochester.rr.com> wrote in 
message <g28al3$5dh$1@fred.mathworks.com>...
> "wang wang" <pligly@gmail.com> wrote in message 
> <g285ni$27j$1@fred.mathworks.com>...
> > Hi~everyone, I have a oscillating function, but I 
don't 
> > know how to integrate it with matlab, the results 
given by 
> > the matlab function quad and quad8 are not ideal. Is 
there 
> > a special function in matlab to do this kind of 
> > integration .
> 
> No. Sorry.
> 
> A completely general oscillating function may
> be difficult to integrate, depending on the
> size of the range and the number of periods
> contained within it. Of course, the last time
> someone asked this question, they were trying
> to integrate over the infinite real line. I hope
> that you are not also trying to use an adaptive
> numerical tool to integrate over an infinite
> domain.
> 
> John

John, Thank you for reply!
Actually, it's true, i am trying to integrate an 
oscillating function over an infinite interval. What i 
have known is that this function is integrable.Is it 
possible to use quadl to do this work? thanks!