ellipse_on_mvnskewpdf
ELLIPSE_ON_MVNPDF - Calcluate 'response' of an ellipse on skewed multivariate normal
Y=ELLIPSE_ON_MVNPDF(XMESH,YMESH,ELLIPSE_PARAMS,MU,SIGMA, ALPHA)
Computes the overlap of an ellipse on a multivariate normal distribution.
Inputs:
XMESH = The X coordinates over which to calculate the response
YMESH = The Y coordinates over which to calculate the response
ELLIPSE_PARAMS = a list of column vectors; each column describes 1 ellipse
the first row has the X_Ctr position, the second row has the Y_Ctr
position, the third row has the X axis vertex, the fourth row has the
Y axis vertex, and the fifth row has the rotation (in radians)
MU - The mean for the multivariate normal pdf; can be a column vector or row vector (see MVNPDF)
SIGMA - the covariance matrix for the multivariate normal pdf (must be 2x2, see MVNPDF)
ALPHA - 1x2, the skewness parameter (see MVNSKEWPDF)
Outputs:
Y - The response, in a column vector, for each ellipse
See also: INSIDE_ELLIPSE, MVNSKEWPDF