Yesterday is history, tomorrow is a mystery, but today is gift. That's why we called it the present. >>>>>>> 点此联系我

[Matlab] EEGLab中脑电地形图文件更新2

原始的topoEEG.m文件中的griddata函数有问题,若画下图所示的地形图,将topoEEG.m中的griddata函数稍改一下即可:

%   [Xi,Yi,Zi] = griddata(y,x,Vl,yi',xi,'invdist'); % Interpolate data
%  [Xi,Yi,Zi] = griddata(y,x,Vl,yi',xi,'v4');
 [Xi,Yi,Zi] = griddata(y,x,Vl,yi',xi,'natural');

  

 

posted @ 2020-12-24 00:39  virter  阅读(397)  评论(0编辑  收藏  举报