Out of memory ?

6 vues (au cours des 30 derniers jours)
Ali Umair
Ali Umair le 31 Jan 2012
Commenté : Annie micheal le 9 Sep 2016
when two text file of 10 mb each is processed for finding out the cross co-realtion Between Them Matlab Gives Following error
??? Error using ==> fft Out of memory. Type HELP MEMORY for your options.
Error in ==> C:\MATLAB6p5\toolbox\signal\signal\xcorr.m (vectorXcorr) On line 149 ==> X = fft(x,2^nextpow2(2*M-1));
Error in ==> C:\MATLAB6p5\toolbox\signal\signal\xcorr.m On line 54 ==> [c,M,N] = vectorXcorr(x,autoFlag,maxlag,varargin{:});
How Will i increase the memory of Matlab ,Im using Win xp sp2

Réponse acceptée

Andreas Goser
Andreas Goser le 31 Jan 2012
You may want to decrease the consumed memory...
But for increasing the memory see this link. In particular, look at the 3 GB switch.
  2 commentaires
Ali Umair
Ali Umair le 31 Jan 2012
Will u please elaborate ?
Andreas Goser
Andreas Goser le 31 Jan 2012
Well on which part? Saving memory or increasing memory?

Connectez-vous pour commenter.

Plus de réponses (1)

Annie micheal
Annie micheal le 9 Sep 2016
I am using 64 bit operating system and 64 bit matlab. Still i am getting this error Error using svd Out of memory. Type HELP MEMORY for your options. how to fix it.. pls help me
  2 commentaires
Steven Lord
Steven Lord le 9 Sep 2016
Please show your call to the svd function (all the inputs and outputs) and state the sizes of any variables that you're passing into svd as inputs.
Annie micheal
Annie micheal le 9 Sep 2016
function [U, S] = pca(X) % PCA for large matrices. % Runs principal component analysis on the dataset X % [U, S] = pca(X) computes eigenvectors of the covariance matrix of X % Returns the eigenvectors U, the eigenvalues (on diagonal) in S % Useful values [m, n] = size(X);
U = zeros(n); S = zeros(n);
eps = (X' * X) ./ m; [U,S,~] = svd(eps); end
size of X is 11525*6400, the data type of X is double

Connectez-vous pour commenter.

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by