Overcoming Singularity Issues in Numerical Integration with MATLAB

  • Level: Graduate 
  • Thread starter strokebow
  • Start date
  • Tags Tags
    Singularities
1 reply · 2K views · last reply
strokebow
Messages
122
Reaction score
0
Singularities Killing Me!

Hey,

I'm having singularity problems when integrating both of these equations using MATLAB. When I increase 'm' and 'n' to larger values I get these issues.

I need to evaluate these equations for 'm' and 'n' as large as 2000.

Anyone know how I can overcome these problems?

Many thanks :-)

Please see attached (for eqns)
 
Attachments


Can anyone see the issues here?

I'm trying to use MATLAB to numerically integrate each of these equations.

Matlab keeps complaining of singularities and being unable to integrate the equation for specific (m,n) values returning results of inf, -inf or NaN (not a number).