Code covered by the BSD License  

Highlights from
Fast and efficient spectral clustering

image thumbnail

Fast and efficient spectral clustering

by

 

02 Jan 2012 (Updated )

Perform fast and efficient spectral clustering algorithms

distEuclidean( M, N )
function [ dist ] = distEuclidean( M, N )
%DISTEUCLIDEAN Calculates Euclidean distances
%   distEuclidean calculates the Euclidean distances between n
%   d-dimensional points, where M and N are d-by-n matrices, and
%   returns a 1-by-n vector dist containing those distances.
%
%   Author: Ingo Buerk
%   Year  : 2011/2012
%   Bachelor Thesis

dist = sqrt(sum((M - N) .^ 2, 1));

end

Contact us