find distance between 2 points
1 view (last 30 days)
Show older comments
RITTIK KUMAR GHOSH
on 15 Nov 2014
Commented: Star Strider
on 29 Dec 2014
I need to find the distance between 2 points. what is wrong with the script?
function d = finddist(A,B)
s = B-A
d = findmod(s)
this is what is coming when i am running it. Error using finddistance (line 2) Not enough input arguments. please help me out with the corrections to be done.
2 Comments
Jan
on 16 Nov 2014
The error message contains "finddistance", but you post the code of "finddist". Which is "line 2"?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Detection 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!