Matlab: Is it possible to save in the workspace a vector that contains 4 millions of values?

On Windows 32-bit you can have at maximum a double array of 155-200 millions of elements. Check other OSs on Mathworks support page.

Yes, just use the command save. If you just need it for later Matlab computations, then it is best to save it in . Mat format.

Save('SavedFile. Mat','largeVector') You can then load your file whenever you need it using the load function. Load('SavedFile.

Mat').

Thank you for writting by I don´t consider this answer as a good answer. This response don´t answer my question. – Peterstone Mar 19 at 12:18.

On my machine it takes 0.01 sec to get a random vector with 4 million elements, with whos you can see that it takes (only) 32 MB. It would take only few seconds to save such amount of data with MATLAB. If you are working with post-R2007b then maybe it is better to save with '-v7.3' option, newer MATLAB versions use by default general HDF5 format but there could be some performance/disc usage issues.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions