out of memory when using hilbert transform

4 vues (au cours des 30 derniers jours)
Yuechen Qiu
Yuechen Qiu le 17 Avr 2020
Commenté : Yuechen Qiu le 22 Avr 2020
Hi, I was trying to using hilbert function to get the amplitudes and phases of the long-recording signal, but got the error "out of memory" due to the huge dataset. Thus, I'm wondering what's the size limit for this function. And could you give me any suggestions on how to deal with this issue? If I just cut the signal to two parts, the result would be different, right?

Réponse acceptée

Devineni Aslesha
Devineni Aslesha le 21 Avr 2020
Modifié(e) : Devineni Aslesha le 21 Avr 2020
Hi Yuechen,
The maximum size limit of the input data to the 'hilbert' function is the maximum array size limit allowed by MATLAB. This limit is obtained by typing 'memory' in the command window. In order to use huge dataset in a single time would be to reduce the double precision data to a single precision data using the 'single' function.
For more information, refer the following links.
  1 commentaire
Yuechen Qiu
Yuechen Qiu le 22 Avr 2020
Thanks! It's really helpful.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by