honors edge labeling code matlab