フィルターのクリア

Change type of datastore

1 回表示 (過去 30 日間)
Eva-Maria Weiss
Eva-Maria Weiss 2019 年 7 月 12 日
編集済み: Eva-Maria Weiss 2019 年 7 月 22 日
Hi Everbody,
does anyone know, if there is a possibility to get a tall array from a .csv file not as tabular type, but as array?
So my problem is, I can create a database from that csv file, convert it to a tall array, everything is fine and quick. But when I whant to load data to memory by using gather it takes an incredible huge amount of time.
I've read, that the performance on tables is poor compared to arrays, so I thought it would be good to have the data as tall array instead of having it as tall tabular data.
Can anyone help? I appreciate any hint!
Best regards
Eva

採用された回答

Eva-Maria Weiss
Eva-Maria Weiss 2019 年 7 月 19 日
編集済み: Eva-Maria Weiss 2019 年 7 月 22 日
Luckily I found out how I can solve that problem. So I love to share it to all:
  1. I don't have necessarily evaluate data from tall table by gather, since functions can be assigned to tall data. Matlab keeps track on all operations.
  2. Table2array works to convert tall table to tall double.
For example a solution can now be
temp = table2array(tallDat(:,2));
Best regards
Eva

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLarge Files and Big Data についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by