Prev: dspsigops
Next: Permission Denied
From: Kostas on 1 Nov 2009 12:45 Hi there guys, i got a problem that involves euclidean distance. any ideas how to calculate the 3d dimensional distance between two points ?
From: Tim Love on 1 Nov 2009 12:48 "Kostas " <m.yoda(a)yahoo.gr> writes: >Hi there guys, >i got a problem that involves euclidean distance. >any ideas how to calculate the 3d dimensional distance between two points ? This doesn't sound like a matlab problem to me.
From: Dave Robinson on 2 Nov 2009 05:22 "Kostas " <m.yoda(a)yahoo.gr> wrote in message <hckhf0$pk6$1(a)fred.mathworks.com>... > Hi there guys, > i got a problem that involves euclidean distance. > any ideas how to calculate the 3d dimensional distance between two points ? EuclidDistance = sqrt((x1-x2)^2 + (y1-y2)^2 + (z1-z2)^2); Where x1,y1,z1 are the 3D coordinates of point 1 and surprise surprise x2,y2,z2 are the 3D coordinates of point 2. Hope that helps Regards Dave Robinson
|
Pages: 1 Prev: dspsigops Next: Permission Denied |