MATLAB Answers

Tall arrays - how do they work

6 ビュー (過去 30 日間)
Uerm
Uerm 2019 年 12 月 5 日
回答済み: Kavya Vuriti 2020 年 4 月 2 日
Hi,
I am working with ECG signals with multiple leads. I stack the signal from the different leads in a tensor. The tensor variable takes up approximately 6 GB space. However, when running Discrete Wavelet Transform (DWT) followed by Empirical Mode Decomposition (EMD), the end result is much much more than 6 GB. I have 20 tensors in the tensor variable (20 patients) and after running DWT and EMD, the data for each patient will be around 6 GB, so it takes up a lot of space!
I am therefore thinking about using tall arrays instead as they seem to take up much less space. My idea is to store the tensor variable in a tall array and then running DWT and EMD. Will this be possible? If yes, how is the indexing for tall arrays? The tensor variable is a cell array so I use {} a lot.
Thanks!

  0 件のコメント

サインインしてコメントする。

回答 (1 件)

Kavya Vuriti
Kavya Vuriti 2020 年 4 月 2 日
Hi,
Though you can convert cell array into a tall array, you cannot use dwt function because the input to dwt function cannot be tall array. Instead different versions of mat file are available to store large data which is obtained after performing 'DWT' and 'EMD'.
Also you can use matfile function to store large data. Here is the documentation link for matfile function.

  0 件のコメント

サインインしてコメントする。

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by