Dear Dr. Kilian,
Sorry for the late reply. I'm afraid, but I perhaps couldn't normalise the 'd' values correctly and hence the frequencies for the correlated pairs are coming out to be too low.
Here's what I did,
[d,omega]= calcAngleDistribution(grains.boundary('Quartz','Quartz').misorientation); % after this step sum(d) returns 100 as the answer.
d=d/sum(d); % IS this the correct way to normalise in this case?
plot(omega*180/pi,d);
Secondly,
I also plotted the misorientation angle distribution for CPO plot (image attached). Wherein, the distribution for correlated pairs appears to follow the expected curve for random distribution and the uncorrelated shows a different distribution. Usually, its the other way round. Could you please tell me what might possibly have gone wrong?
Regards,
Dripta