Code covered by the BSD License

### Highlights frommeetpoint

4.4

4.4 | 5 ratings Rate this file 10 Downloads (last 30 days) File Size: 2.63 KB File ID: #8997

# meetpoint

by M MA

10 Nov 2005 (Updated 01 Jun 2007)

Meet points points and slopes of curves.

File Information
Description

Computes the intesection points of curves and the slopes at the meet points.

Syntax:
[X,Y,M0,M1] = MEETPOINT(X0,Y0,X1,Y1)
[X,Y,M0,M1] = MEETPOINT(HANDLES0,HANDLES1)

Outputs:
X,Y Meet points
M1,M2 Slopes

Can deal with coincident segments, vertical segments, ...
Works at least in Matlab versions since 5.3 utill current, R14.
Does not use Matlab INTERP1 or any other Matlab interpolation function.

MATLAB release MATLAB 6.0 (R12)
Tags for This File
Everyone's Tags
Tags I've Applied
12 Dec 2011
12 Dec 2011

It is exactly the function that i was looking for.
Thank you

06 Sep 2011

I am looking for the intersection of dynamic waves and base line. SO far, I could manage to get few of the intersection points using ratio (Y data of dynamic wave/ Y data of base line) for whole of samples. Pls advise me how should I continue since I was stuck in here so long.

I used your function but mine is dynamic wave form and base straing line so the X -axis is not constant line. So the array is only (1900x1) for wave form and base line. The Y values of wave form is changing but the base line is seems like constant. Let say, there is 64 intersection points visuality but what i can get is only 47 but some are not accutare positions.

Thanks and best regards
Kyaw

20 Feb 2010

It did the job it promises.

22 Jan 2010

Hey! Thanks for working on vertical lines, i have some real data sets that contains vertical lines... Would be great if you could implement self intersections.

17 Apr 2009

this is a very useful tool , thanks for your share.ı created cube vertices and faces and patched this .After that I made up a line crossing this cube in two points. And used this tool.Meetpoint showed three same points and missed the point crossed the cube behind. Why is that ?

25 Jan 2006

It does what it says it does. Its documented quite well. Its not terribly fast for large data sets. Error checks are implemented. I wanted to rate it about a 4.5.