Maple Linear Algebra Maple Problem: Finding Basis Coordinates in a Vector Space

AI Thread Summary
To calculate the coordinates of a vector V in a given basis using Maple, one can create a matrix M with the basis vectors as its columns. The coordinates can then be obtained by multiplying the inverse of matrix M with vector V, expressed as inv(M)V. The discussion highlights the simplicity of this operation, which is a fundamental concept in linear algebra. The user initially struggled with the Maple commands but later realized the solution after recalling basic linear algebra principles.
bartadam
Messages
40
Reaction score
0
say I have a set of basis vectors of a vector space v1, v2...vn and some element of the vector space, say V

What command do I use in maple to calculate the coordinates of V in this basis? I can't find one in the linalg package
 
Physics news on Phys.org
I don't know the commands in maple (this is something I'd usually do in MATLAB or octave) but the problem is just one of matrix inverse. If you make a matrix M, with columns comprising the basis vectors, then the basis cordinates of V are simply inv(M)V
 
uart said:
I don't know the commands in maple (this is something I'd usually do in MATLAB or octave) but the problem is just one of matrix inverse. If you make a matrix M, with columns comprising the basis vectors, then the basis cordinates of V are simply inv(M)V

Thanks, yeah it dawned on me sorted it. Forgot my elementary linear algebra.

Thank for your reply.
 
Back
Top