Filter löschen
Filter löschen

Faster way of loading data than loading mat file with array? / Faster way than logical indexing or find?

4 Ansichten (letzte 30 Tage)
Hello everybody,
I need to load a really big amount of data into matlab. I could speed it up by moving from a table to an array and by using v6 to save it. But still it takes almost 50% of the time of the program. Is there an even faster method?
After that, I need to find certain values in this array. This takes about 40% of the time. Is there a faster emthod than logical indexing?
  13 Kommentare
Guillaume
Guillaume am 23 Jan. 2020
If the data is saved in a mat file, fread won't help (unless you're planning to write your own mat file parser).
Gerrit
Gerrit am 23 Jan. 2020
Yeah, I just tested that. I think, the way I have it, is the best way to do it. Now I try to focus on vectorizing my loops.
If you want, you can take a look at my question. Link: https://de.mathworks.com/matlabcentral/answers/501586-can-i-vectorize-one-of-the-loops

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by