How can I solve a sum of two variables function?

2 views (last 30 days)
Hello.
I have a two variables function: f=U(t,M).
I need to solve the integral (from 0 to +Inf) in dlnM of the following sum:
F(t,M) = sum(i odd) (1/i^2)*exp(-i^2 * U(t,M))
If anyone can help me, I will be appreciate it.
Thank you
  5 Comments
3Nz0
3Nz0 on 4 Mar 2021
I have the expression of U(t, M). t and M are two vectors. I solved the problem discretizing the function, so U is a matrix. However I need to a function because 1)I want to estimate some parameters with fminsearch() 2)the result from integral with Simpson or traps method is a little bit higher then the desired results. Thank you, again
Walter Roberson
Walter Roberson on 4 Mar 2021
If M is a vector then you cannot integrate with respect to M.
At present, you have no hope of getting a closed form integral as long as you leave U as an indefinite function. If you put in the actual definition for U then you might get a useful result, perhaps. I was recently assisting someone with a broadly similar expression in which it turned out that what they were doing could be written in terms of JacobiTheta4.

Sign in to comment.

Answers (1)

Swetha Polemoni
Swetha Polemoni on 2 Mar 2021
Hi Enzo,
It is my understanding that you want to find intergation of series sum. You may these answers helpful
Hope this helps

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!