comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Fredholm integral equation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Fredholm integral equation [message #88888] Tue, 01 July 2014 10:52 Go to next message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Dear All,
I wish to solve a Fredholm integral equation of the first kind. Is there an idl routine that can do this.
My Equation is of the kind

knownfunction = integral( knownfunction X unknownfunction)

-GlanPlon
Re: Fredholm integral equation [message #88892 is a reply to message #88888] Tue, 01 July 2014 12:46 Go to previous messageGo to next message
Bill Nel is currently offline  Bill Nel
Messages: 31
Registered: October 2010
Member
On Tuesday, July 1, 2014 1:52:35 PM UTC-4, Gompie wrote:
> Dear All,
>
> I wish to solve a Fredholm integral equation of the first kind. Is there an idl routine that can do this.
>
> My Equation is of the kind
>
>
>
> knownfunction = integral( knownfunction X unknownfunction)
>
>
>
> -GlanPlon

If you're willing to discretize your integral equation, there are built-in routines for solving matrix equations, e.g.,

knownVector = knownMatrix ## unknownVector
Re: Fredholm integral equation [message #88893 is a reply to message #88892] Tue, 01 July 2014 19:52 Go to previous messageGo to next message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Hi
Thanks for the suggestion. I am using Trapezoidal rule to descretize the integral. My x intervals are uneven. I can use any other one too. How to resolve it into two arrays.
GlanPlon
Re: Fredholm integral equation [message #88907 is a reply to message #88892] Wed, 02 July 2014 11:54 Go to previous messageGo to next message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Thanks once again for the suggestion. I guess the following thing should work.

Trapezoidal rule can be written as

0.5*[(x2-x1)f(x1) + (x3-x1)*f(x2) + (x4-x2)*f(x3) +...].

Here f(x)=knownfunction*unknownfunction.

The above expression is a ## multiplication of two vectors hence is respresentable as a expression you mentioned in your message (i.e knownVector = knownMatrix ## unknownVector)
-GlanPlon
Re: Fredholm integral equation [message #88917 is a reply to message #88907] Thu, 03 July 2014 09:18 Go to previous messageGo to next message
Bill Nel is currently offline  Bill Nel
Messages: 31
Registered: October 2010
Member
On Wednesday, July 2, 2014 2:54:07 PM UTC-4, Gompie wrote:
> Thanks once again for the suggestion. I guess the following thing should work.
>
>
>
> Trapezoidal rule can be written as
>
>
>
> 0.5*[(x2-x1)f(x1) + (x3-x1)*f(x2) + (x4-x2)*f(x3) +...].
>
>
>
> Here f(x)=knownfunction*unknownfunction.
>
>
>
> The above expression is a ## multiplication of two vectors hence is respresentable as a expression you mentioned in your message (i.e knownVector = knownMatrix ## unknownVector)
>
> -GlanPlon

I may be misunderstanding your problem, but what I meant was that if you have

h(x) = Integral_dy{ f(x,y) g(y) }

this can be approximated as

h(i dx) = (1/dy) Sum_over_j{ f(i dx, j dy) g(j dy) }

where i = 0, 1, ...
j = 0, 1, ...
and dx, dy are your (equal) grid spacing. This is just a matrix equation

h[i] = (1/dy) f[i, j] g[j]

with h and f known, g unknown.
Re: Fredholm integral equation [message #88938 is a reply to message #88917] Sun, 06 July 2014 20:52 Go to previous message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Hi
Your idea is correct just that my grid spacing is not equal. So I am using the Trapezoidal rule to integrate.
Gompie.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Two NewGraphics weirdnesses
Next Topic: creating grid

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:16:52 PDT 2025

Total time taken to generate the page: 0.00515 seconds