[FieldTrip] comparing

Abdallah Qusaibe abdallah.qusaibe at gmail.com
Thu Jul 2 15:29:19 CEST 2020


Hello,

I want to simulate a dipole with different orientation
and compare eeg to meg


I find in your script this:
%% Evaluate the quality of the result using RDM and MAG
rdms = zeros(1,size(lf_openmeeg,2));
for ii=1:size(lf_openmeeg,2)
  rdms(ii) = norm(lf_openmeeg(:,ii)/norm(lf_openmeeg(:,ii)) -
lf_sphere(:,ii)/norm(lf_sphere(:,ii)));
end
mags = sqrt(sum(lf_openmeeg.^2))./sqrt(sum(lf_sphere.^2));
disp(['RDMs: ',num2str(rdms)]);
disp(['MAGs: ',num2str(mags)]);

does  RDM and MAG is suitable to my comparing? if no, can you please let me
know which I should use?

Regards
AQ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200702/2cba5953/attachment.htm>


More information about the fieldtrip mailing list