Euclidean distance for 3D data
Show older comments
Hye, can anybody help me, what is the calculation to calculate euclidean distance for 3D data that has x,y and z value in Matlab? Thank you so much. Really appreciate if somebody can help me.
3 Comments
KSSV
on 2 May 2018
Read about dist. You can write your own formula for this not a deal.
Jan
on 2 May 2018
The distance to what?
Lu Zhang
on 4 May 2022
Hi, Nurul. Did you figure it out finally? Is it possible for you to share the answer? I want to compute the euclidean distance for fMRI data on the vertex level. Thank you so much.
Accepted Answer
More Answers (1)
dmitry luchinsky
on 17 Sep 2019
0 votes
why not to use pdist2?
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!