ellipse_grid


ellipse_grid, a MATLAB code which generates a grid of points over the interior of an ellipse in 2D.

The library allows the user to define an ellipse by choosing its center and the length of its major and minor axes. The user also choose N, the number of subintervals into which the minor radius will be subdivided. It then returns the gridpoints defined by that choice.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

ellipse_grid is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

ellipse_grid_test

ellipse, a MATLAB code which performs various geometric calculations for ellipses and ellipsoids.

ellipse_monte_carlo a MATLAB code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipse in 2D.

matlab_grid, a MATLAB code which generates a regular grid of points inside a variety of regions in one, two, three or many dimensions.

Source Code:


Last revised on 02 September 2010.