find distance between 2 points
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Jan
2014년 11월 16일
The error message contains "finddistance", but you post the code of "finddist". Which is "line 2"?
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Detection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!