Importing big data from txt/excel file

4 visualizzazioni (ultimi 30 giorni)
Burak Dermenci
Burak Dermenci il 27 Mar 2017
Commentato: Wei Wang il 21 Dic 2018
Hi all,
I have quite large number of battery test data which contain hundreds of thousands data from each 13 columns (totally million of them). I generally convert them into txt and/or excel. However, when importing the file by using xlsread or import; it takes a few hours.
I'm looking for a more easy way to import txt or excel file in a shorter time. My purpose is to draw a 2D plot choosing any 2 columns of them.
  1 Commento
Wei Wang
Wei Wang il 21 Dic 2018
You can use the function: tall to deal with the big data. It is extremely fast.
good luck.

Accedi per commentare.

Risposte (1)

Robert Alvarez
Robert Alvarez il 27 Mar 2017
Read your data into excel then export them as comma-separated-values (csv) then read into Matlab with csvread

Community Treasure Hunt

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

Start Hunting!

Translated by