Path: news.mathworks.com!not-for-mail
From: Christopher Creutzig <Christopher.Creutzig@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: integral function f(x,y) has singularity ?
Date: Wed, 09 Nov 2011 13:39:59 +0100
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <4EBA749F.3080200@mathworks.com>
References: <j9abju$4uh$1@newscl01ah.mathworks.com> <4EB929B0.5000103@mathworks.com> <j9bj3m$6os$1@newscl01ah.mathworks.com>
NNTP-Posting-Host: pad-ccreutzi-maci.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1320842400 21298 172.16.195.205 (9 Nov 2011 12:40:00 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 9 Nov 2011 12:40:00 +0000 (UTC)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To: <j9bj3m$6os$1@newscl01ah.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:748795

On 08.11.11 16:50, mathslife wrote:
> Christopher Creutzig <Christopher.Creutzig@mathworks.com> wrote in message <4EB929B0.5000103@mathworks.com>...
>> On 08.11.11 05:36, mathslife wrote:

>> >  i wrote a program for it like 
>> > 
>> >  m=@(y) 1./ cos(x(k+n+1)+y);
>> >                 
>> >                 T=quad(m,0,2*pi);

> Thanks alot, maybe i need to explain a bit more, subject is collocation method for second kind.there is a problem i need to implement , and point are x(k)=2*pi*i*k/(2*pi+1).
> it is like ( I +\int  e^(i*y)  /  (5+3*cos(x+y))  dy )F(x)=g(x)

That's a completely different problem, though. You should not run into
singularity errors for this one. (I have no idea about “collocation
methods” and can't comment on whether you really want to compute an
approximation to this integral.)


Christopher