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 Comments

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.

Sign in to comment.

 Accepted Answer

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

More Answers (0)

Products

Asked:

on 17 May 2017

Commented:

on 23 May 2017

Community Treasure Hunt

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

Start Hunting!