| MATLAB Central > MATLAB Newsreader > Merge line segments |
|
|
|
Given 2 line segments (4 points), I want to return a third which consists of the the 2 points that are furthest apart. I have a function that works, but is there are way to do it more efficiently (faster) as this is a bottleneck in my code? |
|
% Try this: |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kfb5tu$b93$1@newscl01ah.mathworks.com>... |
|
"Peter Bone" <peterbone@hotmail.com> wrote in message <kfb6hv$dqb$1@newscl01ah.mathworks.com>... |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kfbaad$sur$1@newscl01ah.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
