1
vote
1answer
181 views

Inaccuracy in numerical calculation of arclength of part of an ellipse

I am trying to numerically calculate the arclength of part of an ellipse according to: $$ L = \int_0^{\phi_s}\sqrt{r^2+\left(\frac{dr}{d\phi}\right)^2} d\phi $$ where $r$ is defined as: $$ ...
1
vote
2answers
333 views

How do I calculate numerically a tensor in polar coordinates?

You can formulate the question also like this: What is the easiest way of calculating directed derivative of a function if its values are evaluated in a cartesian grid? a) fit a (spline) surface, ...
0
votes
1answer
872 views

Numerical Integration of a Gaussian Distribution in Polar Coordinates

I want to numerically evaluate a 2D-integral of a specific probability distribution over some given area (I use MATLAB so all the code below is MATLAB code). I broke down the problem so that it ...