Out of memory ?

조회 수: 1 (최근 30일)
Ali Umair
Ali Umair 2012년 1월 31일
댓글: Annie micheal 2016년 9월 9일
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

채택된 답변

Andreas Goser
Andreas Goser 2012년 1월 31일
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
Ali Umair
Ali Umair 2012년 1월 31일
Will u please elaborate ?
Andreas Goser
Andreas Goser 2012년 1월 31일
Well on which part? Saving memory or increasing memory?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Annie micheal
Annie micheal 2016년 9월 9일
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
Steven Lord
Steven Lord 2016년 9월 9일
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 2016년 9월 9일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by