Date: Feb 11, 2013 12:38 PM
Author: Bruno Luong
Subject: Re: Merge line segments

"Peter Bone" <peterbone@hotmail.com> wrote in message <kfb6hv$dqb$1@newscl01ah.mathworks.com>...
>
> Thanks. That's a nice method for minimising code and works fine, but it's around 6 times slower than mine on average.


Next suggestion:
If you have a bunch of quadri-points to be processed, then vectorize your code rather than calling the function sequentially.

Bruno