|
|
 | | From: | Neni | | Subject: | Infinity integral | | Date: | Mon, 24 Jan 2005 02:38:29 -0500 |
|
|
 | Hello Matlabers;
I want to make the integral from minus infinity to 0(zero) using matlab. Please help me how to do this.
Thank you Neni
|
|
 | | From: | Roger Stafford | | Subject: | Re: Infinity integral | | Date: | Mon, 24 Jan 2005 08:47:09 GMT |
|
|
 | In article , Neni wrote:
> Hello Matlabers; > > I want to make the integral from minus infinity to 0(zero) using > matlab. Please help me how to do this. > > Thank you > Neni --- Hello Neni,
It is best if you can devise a change of variable in whatever function you are integrating so as to convert your range of integration into a finite range. Then you can use matlab's standard integration technique on the transformed function. Of course this change should be done carefully so that the transformed integrand does not shoot up to infinity at one end of this finite range - the end that corresponds to the previous minus infinity.
Trying to integrate out to great distances in the minus direction as an approximation is not a very convenient or elegant approach, but you could try it as a last desperate measure. Of course you have to be prepared for the possibility that your integration actually gives infinity as a true answer - it all depends on the nature of your integrand as you approach minus infinity. -- (Remove "xyzzy" and ".invalid" to send me email.) Roger Stafford
|
|
|