Hi,
in general, one should be able to average ny property over a grains using accumarray e.g. if gnd exists for each ebsd point:
[~,~,eindex] = unique(ebsd.grainId);
grain_averaged_gnd = accumarray(eindex,gnd,[],@nanmean);
Hope that works.
Cheers,
Rüdiger
________________________________________
From:
mtex...@googlegroups.com <
mtex...@googlegroups.com> on behalf of
huihu...@hotmail.com <
huihu...@hotmail.com>
Sent: Wednesday, February 13, 2019 4:55:10 PM
To: MTEX
Subject: {MTEX} Is it possible to get avarge gnd density per grain?
--
If you want to reduce the number of emails you get through this forum login to
https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mtexmail+u...@googlegroups.com<mailto:
mtexmail+u...@googlegroups.com>.
Visit this group at
https://groups.google.com/group/mtexmail.
For more options, visit
https://groups.google.com/d/optout.