How to load very large trajectory file
Ältere Kommentare anzeigen
I have a very large simulation trajectory file with 40000 frames and each frame has coordinates rx,ry,rz for almost 300 particles.I want to use only a frame at time and move to second frame in series of calculation like radial distirbution function.How should I load and read the trajectory file frame by frame? Can anyone suggest me the procedure or should i proceed with normal commands like dlmread and fscan?
Antworten (1)
Pat Williamson
am 24 Jul. 2025
0 Stimmen
I don't know if there is one good answer to this question given the information provided, but I have pulled together some related resources that can be helpful.
First, here is the documentation page meant to assist with dealing with large files and big data:
There are also similar questions on MATLAB Answers with helpful information:
- https://www.mathworks.com/matlabcentral/answers/2009297-fastest-way-to-load-data
- https://www.mathworks.com/matlabcentral/answers/356897-how-do-i-speed-up-file-reading-for-large-files-with-floating-point-numbers-in-scientific-notation
- https://www.mathworks.com/matlabcentral/answers/2176908-matlab-transfer-speed-while-scripting
- https://www.mathworks.com/matlabcentral/answers/1640740-any-simple-ideas-to-improve-performance-of-reading-long-10-gb-scale-csv-file
If you have further questions about how to proceed with your data, I recommend contacting MathWorks Technical Support. More information for how to do so can be found in this MATLAB Answers post:
Kategorien
Mehr zu Axes Transformations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!