How to solve this Matlab error: "Undefined function 'distance' for input arguments of type "double."

Hi,
I keep getting this error in matlab 2013: "Undefined function 'distance' for input arguments of type "double." Can anyone guid me on what actually went wrong?
Thanks alot,

 Akzeptierte Antwort

distance is not a built-in function
If your are using code from someone else than you should also ask them to provide the distance.m file

2 Kommentare

and it is probable this one http://www.mathworks.com/matlabcentral/fileexchange/71-distance-m but you should check if this is appropriate for the code you are using
Thank you so much for taking the time to answer my question. I'll check it out.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Functions finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Noch keine Tags eingegeben.

Gefragt:

am 11 Jun. 2015

Kommentiert:

am 11 Jun. 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by