mesh_fit_elec_optim.m

来自「Matlab下的EEG处理程序库」· M 代码 · 共 28 行

M
28
字号
function [sumD] = mesh_fit_elec_optim(SUMD,scalp,elec)

% MESH_FIT_ELEC_OPTIM - optimise the fitting of electrodes to scalp vertices
%
% This function is in development.  It needs rotations and 
% translations of elec vertices to fit those of the scalp 
% vertices and a minimisation function for the difference 
% between the vertex locations of the nearest scalp vertices 
% and those of the electrodes.

% $Revision: 1.2 $ $Date: 2003/03/02 03:20:44 $

% Licence:  GNU GPL, no implied or express warranties
% History:  09/2002, Darren.Weber@flinders.edu.au
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

fprintf('Still in development\n'); return


% Rotations/translations/scaling here???

[k,d] = dsearchn(scalp,elec);

sumD = sum(d) - SUMD;

return

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?