# How can I solve this type of integration?

1 view (last 30 days)

Show older comments

Bajdar Nouredine
on 13 Aug 2021

Commented: Bjorn Gustavsson
on 24 Aug 2021

##### 0 Comments

### Accepted Answer

Bjorn Gustavsson
on 13 Aug 2021

This seems like a natural case for a for-loop. Something like this:

your_sum_of_integrals = 0;

for j1 = 1:100

your_sum_of_integrals = your_sum_of_integrals + (p-1)^2*integral2(@(theta,y) integrand_expr - etc;

end

A simple computational solution - there might be some clever way to figure out a closed-form solution of this, but this should be enough...

HTH

##### 4 Comments

Bjorn Gustavsson
on 24 Aug 2021

### More Answers (0)

### See Also

### Community Treasure Hunt

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

Start Hunting!