Overcoming Singularity Issues in Numerical Integration with MATLAB

  • Context: Graduate 
  • Thread starter Thread starter strokebow
  • Start date Start date
  • Tags Tags
    Singularities
Click For Summary
SUMMARY

The discussion centers on overcoming singularity issues encountered during numerical integration in MATLAB when evaluating equations for large values of 'm' and 'n', specifically up to 2000. Users report receiving errors such as inf, -inf, or NaN when attempting to integrate. The primary tool mentioned is MATLAB, which is experiencing difficulties with singularities in the equations provided. Solutions to these issues are sought by the forum participants.

PREREQUISITES
  • Understanding of numerical integration techniques in MATLAB
  • Familiarity with handling singularities in mathematical equations
  • Basic knowledge of MATLAB syntax and functions
  • Experience with large-scale computations in MATLAB
NEXT STEPS
  • Research techniques for handling singularities in MATLAB, such as using 'integral' with options
  • Explore MATLAB's 'Finite Difference' methods for numerical integration
  • Learn about adaptive quadrature methods in MATLAB for better handling of large values
  • Investigate the use of symbolic computation in MATLAB to simplify equations before integration
USEFUL FOR

This discussion is beneficial for MATLAB users, mathematicians, and engineers dealing with numerical integration, particularly those facing challenges with singularities in their equations.

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

Physics news on Phys.org


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).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K