Euclidean Distance
Version 1.0.0.0 (1.32 KB) by
Ashok Kumar Pant
Calculates euclidean distance between two vectors.
'z=mydist(w,p)' calculates euclidean distance between two vectors w:SxR and p:RxQ and returns z:SxQ,distances between w's rows and p's columns.
This function serve same as Matlab 'dist(w,p)' but requires far less memory to compute.
It can help to overcome 'Out of memory error' in larger data set training in neural network.
Cite As
Ashok Kumar Pant (2024). Euclidean Distance (https://www.mathworks.com/matlabcentral/fileexchange/44870-euclidean-distance), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |