MATLAB: Testing MATLAB to the limits! matrix MATLAB users Hello! I need to construct 6 billion pairs of some numbers and I would like to know if there is anything that I can do to increase the performance/speed/memory of MATLAB. I use r2012a and r2009 Thanks in advance! Best Answer use 64bit Matlabuse uint8 if possibleinstall a lot of RAMpre-allocateuse the function, PROFILE >> 6e9*2*8/1e9 ans = 96 Related SolutionsMATLAB: Fprintf \n not working properly You are printing a 5 column row:'%12.8f %12.8f %12.8f %12.8f %12.8f \n'but supplying 6 datatpoints:Data(row_index,1),Data(row_index,2),Data(row_index,3),Data(row_index,4),Data(row_index,5),Data(row_index,6)which you can write asData(row_index,1:6) MATLAB: 32bit Windows 8gb RAM with Ramdisk > Out of Memory in parfor Would using 64bit solve this: Probably. In 32 bits your variables can't be larger than around 4GB.What other things can you do: Make your code more memory-efficient. Related QuestionHow to perform a polyfit on semilog plotIncreasing matlab memory sizeFind the pair of the matrix
Best Answer