资源简介
#3.0版本#调用eeglab批量读取excel文件中的脑电数据并绘制脑电拓扑图,算法可以根据用户输入读取指定列的特征,指定列的数据,并将数据特征映射到图片保存的文件名中
代码片段和文件信息
% cbar() - Display full or partial color bar
%
% Usage:
% >> cbar % create a vertical cbar on the right side of a figure
% >> cbar(type) % specify direction as ‘vert‘ or ‘horiz‘
% >> cbar(typecolors) % specify which colormap colors to plot
% else
% >> cbar(axhandle) % specify the axes to draw cbar in
%
% >> h = cbar(type|axhandlecolors minmax grad)
%
% Inputs:
% type - [‘vert‘|‘horiz‘] direction of the cbar {default: ‘vert‘)
% ELSE axhandle = handle of axes to draw the cbar
% colors - vector of colormap indices to display or integer to truncate upper
% limit by.
% (int n -> display colors [1:end-n]) {default: 0}
% minmax - [min max] range of values to label on colorbar
% grad - [integer] number of tick labels. {default: 5}.
%
% Example:
% >> colormap(‘default‘) % default colormap is 64-color ‘jet‘
% >> cbar(‘vert‘33:64); % plot a vertical cbar colored green->red
% % useful for showing >0 (warm) and 0 (green)
% % values only in a green=0 plot
%
% Author: Colin Humphries Arnaud Delorme CNL / Salk Institute Feb. 1998-
%
% See also: colorbar()
%123456789012345678901234567890123456789012345678901234567890123456789012
% Copyright (C) Colin Humphries CNL / Salk Institute Feb. 1998
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not write to the Free Software
% Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307 USA
% $Log: cbar.mv $
% Revision 1.7 2007/02/03 04:05:32 toby
% Help edit
%
% Revision 1.6 2006/09/12 16:52:04 arno
% Minor fix and debugging (this function should be reprogrammed)
%
% Revision 1.5 2006/02/16 21:21:06 arno
% same
%
% Revision 1.4 2006/02/16 21:20:35 arno
% new option pos
%
% Revision 1.3 2004/05/07 16:07:49 scott
% help comments - added a useful example -sm
%
% Revision 1.2 2003/07/30 01:53:13 arno
% adding grad option
%
% Revision 1.1 2002/04/05 17:36:45 jorn
% Initial revision
%
% 12-13-98 added minmax arg -Scott Makeig
% 01-25-02 reformated help & license added links -ad
function [handleimH]=cbar(argcolorsminmax grad)
if nargin < 2
colors = 0;
end
posscale = ‘off‘;
if nargin < 1
arg = ‘vert‘;
ax = [];
else
if isempty(arg)
arg = 0;
end
if arg(1) == 0
ax = [];
arg = ‘vert‘;
elseif strcmpi(arg ‘pos‘)
ax = [];
arg = ‘vert‘;
posscale = ‘on‘;
el
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6457 2013-10-13 22:52 cbar.m
文件 30699 2013-01-14 16:25 chanlocsposi.mat
文件 835 2020-01-02 14:38 chanlocsseek.m
文件 7249 2020-01-04 17:34 main.m
文件 65189 2014-08-31 21:48 topoplot.m
相关资源
- 拟牛顿法程序
- 数据拟合方法实现飞行物体运动轨迹
- 如何使用FULLBNT工具箱(中文)
- 快速理解DFT
- 单目标优化含约束
- 原子分解算法Atomizer
- 室内定位RSS位置指纹法-KNN代码与数据
- 利用联合对角化技术进行信号盲分离
- 直流无刷电机双闭环控制系统仿真模
- ADJUST插件
- 郑州大学随机信号处理大作业 附程序
- 国际10-20系统脑电极分布图Viso绘制
- 气候分析中检验突变程序(滑动t检验
- 双馈风电机组DFIG的详细仿真模型
- 基于LIBSVM的图像分类
- 转子动力学求解转子系统前三个临界
- 图片颜色互相转换:RGB HSV CIE Lab CIE
- 卡尔曼滤波动态跟踪.rar
-
em
bedded Coder Support Package for Texas In - 直流微电网模型含蓄电池控制.zip
- 搭建双向DC-DC双电路,实现直流微网并
- CORDIC的资源
- MATLAB夜间车牌识别程序
- PSO_final 光伏阵列MPPT
- servo_foc
-
simuli
nk 利用Matlab/simuli nk搭建纯电 - 基于H桥级联型五电平逆变器的Matlab仿
- 自动泊车
- 轴承动力学建模matlab
- 晶粒再结晶的元胞自动机模拟
评论
共有 条评论