Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean)
Comparing matrices (Euclidean) Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Go Back  Xtreme Visual Basic Talk > > > Comparing matrices (Euclidean)


Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2015, 09:12 AM
PeetSoft's Avatar
PeetSoft PeetSoft is offline
Centurion
 
Join Date: Jun 2003
Location: HHW - the Netherlands
Posts: 184
Default Comparing matrices (Euclidean)


This is what's needed to solve my problem (pseudo alogorithm)

http://www.hindawi.com/journals/isrn/2013/156540/alg1/

Step 1 to 3 inclusive has been done.

Step 4. How to compare matrices to get the euclidean distance?
Step 5. What will "(Min.(ED1))" mean?
Step 5. Wat does the other part mean? Do I get paid 1,8 million euro's for standing upsidedown indefinatily?

Google wasn't my friend today ;-(


Peet
__________________
-----------------------------------------------------
If debugging is the art of removing bugs, then
programming must be the art of inserting them.
I do comply with Flyguy's signature (If he still had one)
Reply With Quote
  #2  
Old 03-16-2015, 10:19 AM
hDC_0Comparing matrices (Euclidean) hDC_0 is offline
Contributor

* Expert *
 
Join Date: Feb 2004
Posts: 560
Default Euclidean distance between maticies

Quote:
Originally Posted by PeetSoft
Google wasn't my friend today ;-(
I feel your pain.

There are a whole bunch of scientific papers on what is known as
the "Euclidean distance matrices completion problem" --most of them including the phrase "NP Hard".

I've read that a generalized solution (or set of solutions) to this problems would have implications for
molecular conformation in bioinformatics, dimensionality reduction in machine learning and statistics, and even the problem of wireless sensor network localization.

Hopefully you've checked around the MatLab forums.

Here's one post that says:
Quote:
hi anyone know what is the equation for euclidean distance between two matrices..

One thing you can do is to reshape the matrices into
vectors and then apply the usual Euclidean distance measure.

It doesn't really matter how you do the reshaping, but if
you wish to create vectors from a matrix going row by row then
do this (for two matrices A and B):

A2 = reshape(A',prod(size(A)),1); % makes column vectors
B2 = reshape(B',prod(size(B)),1);

dist = sqrt(dot(A2-B2,A2-B2));

Thinking about ways which might help your googling:

Euclidean (utilizing root sum-of-squares of differences) is only type of distance calculation.

Often this method is found in science/math/coding documents which contain other methods like: "manhattan" "canberra" "minkowski"

Hopefully these keywords can help with your searching..

Last edited by hDC_0; 03-16-2015 at 10:31 AM.
Reply With Quote
Reply

Tags
distance, euclidean, matrix


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Comparing matrices (Euclidean) Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean) Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
 
Comparing matrices (Euclidean)
Comparing matrices (Euclidean)
 
-->