lll=VLpathdist(VLD,i,k)
VLD : | VLdistance(CVL) or CVL | |
i : | start index | |
k : | end index; if more than 1 index, the shortes forward and the shortest backward is selected |
lll : | forward distance-backward-distance overall-length]; two rows in numel(k)>1 |
VLpathdist (CPLsample(20),20,50)
CLD=VLdistance(CPLsample(3)), VLpathdist (CLD,2,8), % graphics output uses a circle
VLpathdist(CPLsample(3),2,8)
VLpathdist (CPLsample(40),20,[45 5])