function ellipticalprofile

Returns an elliptical profile centered on (x,y) with position angle a, aspect ratio r, and width w.

Syntax
result = radialprofile(A, x, y, a, r, w)

Arguments
A:   A 2D-image
x:   An integer number, the x center of the profile
y:   An integer number, the y center of the profile
a:   A real number denoting the angle of the ellipse
r:   A real number denoting the aspect ratio of the ellipse
w:   An integer number giving the width of single elements of the ellipse


See also
function radialprofile