Z-score-normalized euclidean distances

버전 1.0.0.0 (2.87 KB) 작성자: Wei-Rong Chen
Compute normalized euclidean distance between two arrays [m (points) x n (features)]
다운로드 수: 97
업데이트 날짜: 2016/10/3

라이선스 보기

% Z-score-normalized euclidean distances.
% Compute euclidean distance between two arrays [m (points) x n (features)]
% The two input arrays must share the same features but each feature may be
% in different scale (e.g., Time (ms) vs. Freq (kHz) ). In order to compute
% the closeness between two arrays without weighting on the feature with
% larger scale, the two input arrays undergo z-score
% normalization, before computing the distances.
%
% Input:
% pt1, pt2 : two input arrays: m (points) x n (features)
% pt1 and pt1 must be either in the same dimensions (i.e., dim(pt1) = dim(pt2) ), or
% pt2 = 1 x n (features) and pt1 = m (points) x n (features),
% then the output 'd' will be the distances from pt2 to each elements in pt1.
% Output:
% d : m (points) x 1 vector: zscore normalized distances/closeness between the two input arrays.
%
% Wr.Ch Jun-15-2016

인용 양식

Wei-Rong Chen (2024). Z-score-normalized euclidean distances (https://www.mathworks.com/matlabcentral/fileexchange/59407-z-score-normalized-euclidean-distances), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0