| New Reply |
Minimum column vector |
Share Thread | Thread Tools |
| May31-12, 05:31 AM | #1 |
|
|
Minimum column vector
I'm doing a particular form of regression that gives a eigenvector and matrix for the solution. I'm using two matrix libraries to code the solution. One library yields the minimum column vector in each column. The other does not, is there a method in linear algebra to convert the eigenmatrix to one where all the column vectors are minimized?
As an example, all the column vectors in Matrix A are 1. In Matrix B, the 2nd column vector is 2 and I think I require it to be 1. Is this change possible? TIA Vectors | Matrix - A ---------|----------------- 0.0365 | 0.27217 0.22176 0.0001 | -0.96225 0.97510 Vectors | Matrix - B ---------|----------------- 0.0365 | 0.2715 0.5026 0.0001 | -0.9624 1.9018 |
| May31-12, 06:19 AM | #2 |
|
|
What I would do is take your matrix and divide by the determinant so that you get a determinant of 1 in the matrix. This will transform your matrix to a complete orthonormal basis if the matrix itself has an orthogonal basis, but if it's not orthogonal I don't know for sure if you will get your requirement that the length of each column vector is approximately 1. Also one idea is that if you are able to do a transformation between two bases, then you can use a transformation that takes your basis, orthogonalizes, and from that you can then get the determinant and divide it so that each of the basis vectors will be 1. Since it is orthonormal, you will get the properties of a rotation matrix. What you can do then is you can place a constraint on your decomposition that the non-orthgonal part has column vectors that must be one and then extract out the rest of the conservation of your matrix (i.e. the equality) so that the rest of it takes that into account. So I'd look into determinants, matrix norms, matrix decompositions including the gram-schmidt processes as well as using the decompositions and change of basis with regards to orthonormal basis vectors, where you can guarantee that taking the determinant out (scalar divide) will always give you vectors that have length 1. |
| May31-12, 04:47 PM | #3 |
|
|
Is normalizing vectors the answer to my question? Do I simply divide each vector by it's normal? So in my case with Matrix B
Vectors | Matrix - B ---------|----------------- 0.0365 | 0.2715 0.5026 0.0001 | -0.9624 1.9018 The normal for the first column vector is.. sqrt(0.2715^2 + -0.9624^2) = 1.000 The normal for the second column vector is.. sqrt(0.5026^2 + 1.9018^2) = 1.9671 The minimum vector for the second column is Vectors | Matrix - B ---------|----------------- 0.0365 | 0.2715/1.00 0.5026/1.9671 0.0001 | -0.9624/1.00 1.9018/1.9671 Vectors | Matrix - B ---------|----------------- 0.0365 | 0.2715 0.2553 0.0001 | -0.9624 0.9668 Which is close to Vectors | Matrix - A ---------|----------------- 0.0365 | 0.27217 0.22176 0.0001 | -0.96225 0.97510 |
| May31-12, 08:51 PM | #4 |
|
|
Minimum column vectorBut it would be a good idea if you tell us what you are using this for. Is there a specific relationship between the vectors and the matrix that needs to hold? |
| New Reply |
| Thread Tools | |
Similar Threads for: Minimum column vector
|
||||
| Thread | Forum | Replies | ||
| Matlab redundancies in a two column vector | Math & Science Software | 0 | ||
| What is the square of a column vector? | Precalculus Mathematics Homework | 4 | ||
| Cross product of row and column vector | General Math | 5 | ||
| Forming an orthogonal matrix whose 1st column is a given unit vector | Calculus & Beyond Homework | 3 | ||
| Vector, Sub, Column, and Row Spaces | Linear & Abstract Algebra | 26 | ||