build_euclidean_weight_matrix.m

来自「toolbox_dimreduc - a toolbox for dimensi」· M 代码 · 共 10 行

M
10
字号
function W = build_euclidean_weight_matrix(A,vertex,pad_with)

% build_euclidean_weight_matrix - build a weighted adjacenty matrix
%   that reflect position of the vertices.
%   The weight is Inf if vertices are not connected.
%   You can put something different from Inf (e.g. 0) 'using pad_with'.
%
%   W = build_euclidean_weight_matrix(A,vertex [,pad_with] );
%
%   Copyright (c) 2004 Gabriel Peyr

⌨️ 快捷键说明

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