%%% sample_emst_script.m

rr = rand(2,100);
mex -v computeEMST.c

[L, E] = computeEMSTofPoints(rr', 1, 0.5);