Home > ISET > utility > biNormal.m

biNormal

PURPOSE ^

Compute bivariate normal function

SYNOPSIS ^

function g = biNormal(xSpread,ySpread,theta,N)

DESCRIPTION ^

Compute bivariate normal function

  g = biNormal(xSpread,ySpread,theta,N)

 This does not properly account for a full covariance matrix.  It only has
 different std dev on x and y.  But you can rotate the thing.  The
 ordering is (a) build a bivariate normal aligned with (x,y) and scaled
 by the x and y spreads, (b) rotate the result.

 Example
   g = biNormal(5,10,0,128); imagesc(g), axis image; 
   g = biNormal(5,10,45,128); imagesc(g), axis image; 
   g = biNormal(5,10,45,16); imagesc(g), axis image;

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003