I am using pdist, and although embracing the vector approach for reduced memory consumption, the size of the vector exceeds matlab size array preference. Any ideas how to tackle this problem?

1 vue (au cours des 30 derniers jours)
Localizations=[fluidicsSeq{1,fcyc}.x,fluidicsSeq{1,fcyc}.y,fluidicsSeq{1,fcyc}.z];
D = pdist(Localizations);
  2 commentaires
Steven Lord
Steven Lord le 23 Mai 2017
What is the size of Localizations when you try to call pdist on it?
Guy Nir
Guy Nir le 23 Mai 2017
It's really big, so what to overcome that I found a way to reduce the amount of data.

Connectez-vous pour commenter.

Réponse acceptée

Yuebin Zhou
Yuebin Zhou le 23 Mai 2017
You may check out this link for guidelines of reducing memory consumption.
https://www.mathworks.com/help/matlab/performance-and-memory.html

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by