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?

Localizations=[fluidicsSeq{1,fcyc}.x,fluidicsSeq{1,fcyc}.y,fluidicsSeq{1,fcyc}.z];
D = pdist(Localizations);

2 commentaires

What is the size of Localizations when you try to call pdist on it?
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

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)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by