【Matlab】脑电通道二维矩阵绘制(可用于绘制连接关系等矩阵图)

参数及电极对应关系如下(根据我们实验用的32-conductor electrode cap (型号BrainAmpTM MR, Germany),10-20system)

【Matlab】脑电通道二维矩阵绘制(可用于绘制连接关系等矩阵图)_第1张图片

相应的绘图参数 code如下:

%subplot('position',[0.54 0.57 0.25 0.35]);
imagesc(Vib_CC_right);%画图
grid on;
title('Vib-Right');
xlabel('Channels');
ylabel('Channels');
%set(gcf,'position',[300,100,900,600])
set(gca,'Xtick',[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]);
set(gca,'XTickLabel',{'C3','C4','CP1','CP2','CP5','CP6','Cz','F3','F4','F7','F8','FC1','FC2','FC5','FC6','Fp1','Fp2','Fz','O1','O2','Oz','P3','P4','P7','P8','POz','Pz','T7','T8'});
set(gca,'XTickLabelRotation',90);%设置x轴坐标竖着显示,防止交叠
set(gca,'Ytick',[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]);
set(gca,'YTickLabel',{'C3','C4','CP1','CP2','CP5','CP6','Cz','F3','F4','F7','F8','FC1','FC2','FC5','FC6','Fp1','Fp2','Fz','O1','O2','Oz','P3','P4','P7','P8','POz','Pz','T7','T8'});
%set(gca, 'CLim', [0 1]);%统一色阶范围 elec设置-6.6
set(gca, 'CLim', [-1 1]);%统一色阶范围 elec设置-6.6
colorbar;%上色,根据深浅
colormap jet;%采用jet色卡

你可能感兴趣的:(脑电处理及分析,matlab,matlab,信号,脑电)