Hello there!
I would like to characterize few grains which display special boundaries (twinning, actually). Those grains have been constructed from EBSD data. First, I want to extract those grains in a new grainSet, and then perform a texture analysis on it.
I manage to get the faces corresponding to twin planes with:
rot19c=rotation('axis',vector3d(Miller(0,1,-1,0)),'angle',86.98*degree);
f=specialBoundary(grains,rot19c);
My idea was to merge the grains considering those boundaries and then try a boolean operation to remove the non-merged grains. But due to the large number of orientations of my map (over 130,000), when I type:
[merged_grains,I_PC] = merge(grains,rot19c);
I get the following error:
Maximum variable size allowed by the program is exceeded.
Is there any other (simpler) way to extract those special grains? (using there locations, for instance...)
Thank you very much.