I have a transformation matrix:
p = {{-2, 0}, {1, 3}}
It is entered correctly as I get this:
MatrixForm[p]
doesn't copy and paste but is a 2x2 matrix, top row with -2 0 and bottom row has 1 3
I have a 4 sided polygon with vertices entered into a matrix, x dimension on top, y on bottom)
q = {{-2, 1, 2, -3}, {1, 3, -2, -1}}
The actual vertices are (-2,1), (1,3), (2,-2) and (-3,-1)
This gives me a 2 x 4 (r x c) matrix with top row of -2 1 2 -3 and bottom row is 1 3 -2 -1
ed at tutorials in various areas on the Wolfram site, looked through the documentation but for the
The MatrixForm function shows the proper depiction.
If I multiply the polygon by the transformation, I should end up with a 2x4 (r x c) matrix with the vertices of the polygon now being at (4,1), (-2,10), (-4,-4) and (6,-6)
I "think" this should be a simple multiply one by the other, however I get message of "incompatible shapes" or "objects of unequal length cannot be combined".
I've switched order, used both a * and . operator but all I get are the above listed error messages. I have looked at several different tutorials on the Wolfram site as well as reviewing the documentation multiple times.
I know this has to be simple but, WHAT am I doing wrong?
Tim Raeford, NC