Re: [R] Inverse matrix using eigendecomposition

2011-12-13 Thread wwreith
Sorry but I am not a student, at least not since 2007. However I am performing grunt work for a someone with a Ph.D. so it does remind me of the student days. I just have a pay check instead of student loans. -- View this message in context: http://r.789695.n4.nabble.com/Inverse-matrix-using-

Re: [R] Inverse matrix using eigendecomposition

2011-12-12 Thread Berend Hasselman
wwreith wrote > > General goal: Write R code to find the inverse matrix of an nxn positive > definite symmetric matrix. Use solve() to verify your code works. > > Started with a 3x3 matrix example to build the code, but something dosen't > seem to be working. I just don't know where I am going w

[R] Inverse matrix using eigendecomposition

2011-12-12 Thread wwreith
General goal: Write R code to find the inverse matrix of an nxn positive definite symmetric matrix. Use solve() to verify your code works. Started with a 3x3 matrix example to build the code, but something dosen't seem to be working. I just don't know where I am going wrong. ##Example matrix I fo

Re: [R] Inverse matrix

2009-12-28 Thread Henrique Dallazuanna
Try: solve(a) On Mon, Dec 28, 2009 at 8:53 AM, FMH wrote: > Dear All, > > Let A is a matrix which is: > A <- matrix(c(1,2,3,4),nrow=2) > > How could we find the inverse of A? I try to use ginv(A), but it didn't > worked. > > Thanks > > Fir > > __ > R-

[R] Inverse matrix

2009-12-28 Thread FMH
Dear All, Let A is a matrix which is: A <- matrix(c(1,2,3,4),nrow=2) How could we find the inverse of A? I try to use ginv(A), but it didn't worked. Thanks Fir __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE