# Thread Subject: Distance between two matrices

 Subject: Distance between two matrices From: anyani himura Date: 11 May, 2012 16:56:13 Message: 1 of 5 Hey guys, How do I compute the distance between say two 2x 2 matrices A and B using matlab? thanks
 Subject: Distance between two matrices From: Nasser M. Abbasi Date: 11 May, 2012 17:01:25 Message: 2 of 5 On 5/11/2012 11:56 AM, anyani himura wrote: > Hey guys, > > How do I compute the distance between say two 2x 2 matrices A and B using matlab? > thanks If you tell me what is your definition of 'distance' betweem 2 matrices I'll tell how to do it in Matlab. --Nasser
 Subject: Distance between two matrices From: Bruno Luong Date: 11 May, 2012 17:13:08 Message: 3 of 5 "anyani himura" wrote in message ... > Hey guys, > > How do I compute the distance between say two 2x 2 matrices A and B using matlab? > thanks norm(A-B) norm(A-B,'fro') etc... Bruno
 Subject: Distance between two matrices From: . YaN Date: 13 May, 2012 04:15:36 Message: 4 of 5 "Bruno Luong" wrote in message ... > "anyani himura" wrote in message ... > > Hey guys, > > > > How do I compute the distance between say two 2x 2 matrices A and B using matlab? > > thanks > > norm(A-B) > norm(A-B,'fro') > etc... > > Bruno There are many ways to compute the distance! if by distance you mean the distance determine the differences between elements the two (comparing them like in image processing information theory) , you can use pdist or pdist2. Otherwise you can just do as Bruno has mentioned.
 Subject: Distance between two matrices From: ImageAnalyst Date: 11 May, 2012 23:13:00 Message: 5 of 5 On May 11, 1:13 pm, "Bruno Luong" wrote: > "anyani himura" wrote in message ... > > Hey guys, > > > How do I compute the distance between say two 2x 2 matrices A and B using matlab? > > thanks > > norm(A-B) > norm(A-B,'fro') > etc... > > Bruno ----------------------------------------------- Adding to the list: Hausdorff distance between two polygons arrays: http://cgm.cs.mcgill.ca/~godfried/teaching/cg-projects/98/normand/main.html Mahalanobis distance http://en.wikipedia.org/wiki/Mahalanobis_distance etc....

Separated by commas
Ex.: root locus, bode

### What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.