Error while using pdist function
2 views (last 30 days)
Show older comments
X=[1,1;2,2;3,3]
D = pdist(X,Distance)
#This command shows the following error:
Unrecognized function or variable 'Distance'.
Did you mean:
>> D = pdist(X,distance)
#If i try running with distance, the following error is displayed:
Error using distance
Not enough input arguments.
What is the correct way to use distance?
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing 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!