If you have the Aerospace toolbox..
try
convlength
or mapping toolbox
distdim
Otherwise you might want to write your own simple script for the same if there is nothing in File Exchange
Some given here:
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!