h = distance(q1,q2)
estimates the cost of propagating from an initial set of states q1 to
final states q2. Each row in q1 and
q2 represents a specific state in the system and the number of columns
matches the number of state variables. The function outputs an n-element
vector h for each q1-q2
pair.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.