From: Israel Johnson on
I have a 1000-by-1500-by-100 matrix filled with zeros and clusters of 1's that represent metal particles within rubber (the rubber is represented with 0's). I need to find the volume and surface area of each particle. I have written code to find the volume and surface area of each particle, however, it can only run it on 1/2 of the full matrix (1000-by-750-by-100). This cuts off the particles that extend into the second half of the matrix distorting their actual volume and surface area. If I then run the data on the other half of the matrix, I will have data on too many particles some with decreased volume and surface area because they spanned both halves of the matrix.

Each cluster in the first half is labeled from 1 to 699 (b/c there are 699 separate clusters identified in the first half). There are 543 clusters in the second half, each labeled.

If I could get some help in just combining the volume data that would be a great start. I thank you in advance for any help.

P.S. the volume data is stored in two separate arrays. One array is 1-by-699 where the value in element 'i' represents the volume for cluster 'i' and so forth.
 | 
Pages: 1
Prev: Data Acquisition Toolbox
Next: 2D Waterfall plot