Matlab Code of projection of Simulated Signal on the Surface

Yes thank you so much!

Would you mind also showing me where amplitude thresholding of sLORETA and inverse models, in general, take occur in the code? (Where can I in the code set the threshold, rather than increasing the bar manually after?)

THank you