som_which_neuron.m

来自「this file is leverage algorithm written 」· M 代码 · 共 11 行

M
11
字号
function [cord_row,cord_col] = som_which_neuron(ind,W_reshape_size)

% som_which_neuron finds the map coordinates of a neuron
%
% see the HTML HELP files (help.htm) for details 

cord_col = mod(ind,W_reshape_size^0.5);
if cord_col == 0
    cord_col = W_reshape_size^0.5; 
end
cord_row = (ind - cord_col)/(W_reshape_size^0.5) + 1;

⌨️ 快捷键说明

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