covariance of a matrix which is not a square matrix
Mostrar comentarios más antiguos
we have a matrix of dimension (65536X12) how can we find covariance of such a matrix which is not a square matrix
Respuestas (1)
Andrew Newell
el 4 de Abr. de 2011
As was true of your previous post, your question is not clear. Do you have 65536 measurements each of 12 variables, or the reverse? If the former, then
cov(M)
(where M is your matrix) will give you a 12 x 12 covariance matrix for the variables. If the latter,
cov(M')
4 comentarios
Anuradha Kumari
el 4 de Abr. de 2011
Walter Roberson
el 4 de Abr. de 2011
Okay, and how are you using the covariance matrix to do the reconstruction to 256 x 256 ?
Andrew Newell
el 5 de Abr. de 2011
I don't suppose it's a coincidence that 65536 = 256^2. Are you trying to correlate each pixel with each other pixel?
Andrew Newell
el 5 de Abr. de 2011
Maybe I should also ask - why are you trying to do this?
Categorías
Más información sobre Correlation and Convolution en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!