Re: EOF explained variance



"Leandro Calil" <leandro@xxxxxxxxxxxxxxxx> wrote in message <g5fn4v$nj7
$1@xxxxxxxxxxxxxxxxxx>...

Hi guys
I am a intermediate user of matlab and I need your help...
I try to calculate the explained variance for eof analysis,
but when I try to calculate the covariance matrix from my
data, matlab shown "out of memory". My data size is 126x8036
and my computer have 1 Gb ram. I try Cov(X) and a simple
X*X'... I don?t known another way to calculate covariance
matrix that use less memory. If some body can help me??
thanks a lot...
Leandro

The documentation for 'cov' states that "each row is an observation, and
each column is a variable". If your X matrix is of size 126 x 8036, then cov(X)
will assume you have 8036 variables with 126 observations and produce a
covariance matrix of size 8036 x 8036, which is very large. Is that what you
intended? The matrix product you wrote, X*X', is only 126 x 126 in size.
This suggests that perhaps you actually have 8036 observations and only 126
variables and need to compute cov(X').

Roger Stafford

.



Relevant Pages

  • Re: EOF explained variance
    ... I intend make a EOF analysis from a grid space that have 126 ... sum of principal diagonal of my covariance matrix. ... I am a intermediate user of matlab and I need your help... ... matlab shown "out of memory". ...
    (comp.soft-sys.matlab)
  • EOF explained variance
    ... I am a intermediate user of matlab and I need your help... ... I try to calculate the explained variance for eof analysis, ... but when I try to calculate the covariance matrix from my ... matlab shown "out of memory". ...
    (comp.soft-sys.matlab)
  • Re: Wishlist for R2007b
    ... via escape sequences; those are about the closest you are ... Matlab always runs as a single process, ... inform Matlab that K:\ (windows) which has a 250 GB ... drive can be used for up to 50 GB of virtual memory. ...
    (comp.soft-sys.matlab)
  • Re: how to retain function variables in base works
    ... here is an estimate about matlab memory: ... For cell array, if you want to use it like a STL vector of JFC ... for an N element cell array, amount of memory ... it bad programming (even worse than global approach! ...
    (comp.soft-sys.matlab)
  • Re: Resizing a structur array in C
    ... I could find no MATLAB documentation that specifically discusses the ... indeed an array of mxArray *, each index corresponding to n fields (in ... memory onto the end of the array, so to speak, and the whole memory ... int newSizeOfArray1 ...
    (comp.soft-sys.matlab)