error: memory exhausted or requested size too large for range of Octave'
From:
nuncio m
Subject:
error: memory exhausted or requested size too large for range of Octave's index type --
Date:
Tue, 15 Mar 2011 22:35:44 +0530
Hi list, Here is the code I am trying to do a PCA analysis
filename='test_eof.txt'; oufile='pc.txt'; data=""> data1=reshape(data,25200,132);
data2=data1'; f=detrend(data2,0); R=f'*f; [C,L]=eig(R); pc1=f*C(:,1); pc2=f*C(:,2); fid=fopen(oufile,"wt"); fprintf(fid,'%10.3f \n',pc1);
fclose(fid); The code never completes the computation, it shows an error "error: memory exhausted or requested size too large for range of Octave's index type -- trying to return to prompt"
Can anyone suggest where it goes wrong. Thanks Nuncio
-- Nuncio.M Research Scientist National Center for Antarctic and Ocean research Head land Sada
Vasco da Gamma Goa-403804