I am working on a problem where I obtain a strain matrix and want to extract the magnitude of that strain along a specified angle. The way I envision it is that the strain matrix represents the vectors corresponding to the major and minor axis of an ellipse and I then want to find the magnitude of a line along my specified angle that intersects that ellipse.
For example above I have a strain matrix that would be defined as
E=[ 1 0; 0 0.5];
This could be represented as the blue ellipse I plotted in the figure. In this scenario my then specified angle is 45˚ (pi/4) represented by the red line. In this scenario the magnitude I am looking for would be:
sqrt(0.45^2+0.45^2)=0.6364
Now I am trying to figure out how to do this via math. I imagine I should be able to simply rotate the ellipse by the negative of my given angle so that the point along the angle I am interested in is now along the x axis and I should be able to simply extract out the x component, as shown graphically:
So in doing this mathematically I figure I rotate the strain matrix as below:
E=[ 1 0; 0 0.5];rotation=[cos(-pi/4) -sin(-pi/4);sin(-pi/4) cos(-pi/4)];rotated=rotation*E;
I then end up with:
rotated=[ 0.7071 0.3536; -0.7071 0.3536];
Which by my earlier definition of an ellipse gives the red rotated ellipse above (one axis point at 0.7071,-0.7071 and one axis at 0.3536,0.3536) which should intersect the X-axis at my desired point of x=0.6364.
So how do I extract out this value from the matrix:
rotated=[ 0.7071 0.3536; -0.7071 0.3536];
Is there a simpler or easier way to accomplish this same task? Thank you!
Best Answer