atmakeXYProjectionEllipse
PURPOSE
atmakeXYProjectionEllipse( sigxx,sigyy,sigxy ) gives points to plot the contour ellipses
SYNOPSIS
function [x,y] =atmakeXYProjectionEllipse( sigxx,sigyy,sigxy )
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
SOURCE CODE
0001 function [x,y] =atmakeXYProjectionEllipse( sigxx,sigyy,sigxy )
0002
0003
0004
0005
0006
0007
0008
0009
0010 eps=sqrt(sigxx.*sigyy-sigxy.^2);
0011
0012 beta=sigxx./eps;
0013 gamma=sigyy./eps;
0014 alpha=-sigxy./eps;
0015
0016 t=linspace(0,2*pi);
0017 xh=sqrt(eps)*cos(t);
0018 yh=sqrt(eps)*sin(t);
0019
0020 x=sqrt(beta)*xh;
0021 y=(-alpha/sqrt(beta))*xh+(1/sqrt(beta))*yh;
0022
Generated on Thu 24-Aug-2017 18:47:33 by m2html © 2005