Rank: 4160 based on 30 downloads (last 30 days) and 2 files submitted
photo

wadzapi

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by wadzapi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Jun 2013 Forel clustering Forel clustering algothm. Author: wadzapi clustering, forel 12 0
03 Jun 2013 Euclidean distance Calculate euclidean distance Author: wadzapi euclidean distance 18 2
  • 1.0
1.0 | 2 ratings
Comments and Ratings on wadzapi's Files View all
Updated File Comment by Comments Rating
12 Jun 2013 Euclidean distance Calculate euclidean distance Author: wadzapi Crozier, Richard

John D'Errico's ipdm does this much better:

http://www.mathworks.co.uk/matlabcentral/fileexchange/18937-ipdm-inter-point-distance-matrix

04 Jun 2013 Euclidean distance Calculate euclidean distance Author: wadzapi Hennart, Florent

04 Jun 2013 Euclidean distance Calculate euclidean distance Author: wadzapi Simon, Jan

While Octave has "endfor", Matlab uses "end" for FOR loops.
BSXFUN ist faster than expanding the data by REPMAT.
SUM(Matrix, 2) replies a column vector, so I'd expect problems when you assign "dist_i" to a row of the result.
The missing pre-allocation slows down this function dramatically for larger inputs.

I think, this function cannot be used in its current state. Substantial changes in the code and a more detailed help section would be a a welcome improvement.

Contact us