Code covered by the BSD License  

Highlights from
meetpoint

4.4

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

meetpoint

by M MA

 

10 Nov 2005 (Updated 01 Jun 2007)

Meet points points and slopes of curves.

| Watch this File

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

Comments:
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
Add New Tags Please login to tag files.
Comments and Ratings (7)
25 Jan 2006 John D'Errico

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.

17 Apr 2009 Cem

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 ?

22 Jan 2010 Guillaume Galibert

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.

20 Feb 2010 Sam Madhani

It did the job it promises.

06 Sep 2011 KYAW KYAW

Dear Sir/Madam,

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

12 Dec 2011 BHY Nesrine

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

12 Dec 2011 BHY Nesrine  
Please login to add a comment or rating.
Updates
01 Jun 2007

Small correction (removed sort at the end, because it may not be desirable)

Tag Activity for this File
Tag Applied By Date/Time
approximation M MA 22 Oct 2008 08:05:54
interpolation M MA 22 Oct 2008 08:05:54
intersection M MA 22 Oct 2008 08:05:54
slope M MA 22 Oct 2008 08:05:54
points M MA 22 Oct 2008 08:05:54
curves M MA 22 Oct 2008 08:05:54
intersection Darin McCoy 15 Aug 2011 17:16:39
approximation Cheikh Camara 10 Oct 2011 09:02:09

Contact us at files@mathworks.com