Topic
Schnittpunkt von Graph und Geraden
Home page › Community › Automation and VBA › Intersection of graph and line
- This topic has 2 replies and 2 voices and was last updated 18 years, 3 months ago ago by stephan rieke.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
13.02.2007 at 21:46 #34933stephan riekeParticipant
Wie kann ich diesen Schnittpunkt ausgeben lassen? Und zwar den ersten Schnittpunkt?
13.02.2007 at 21:46 #34935stephan riekeParticipantWie kann ich diesen Schnittpunkt ausgeben lassen? Und zwar den ersten Schnittpunkt?
13.02.2007 at 22:31 #34934Bernhard KantzParticipantCreate a FPScript formula which calculates the intersection point. Subtract the line from the curve and search the zero values with the [b]LevelCrossings[/b] function. If you only need the first x-value you can also use the [b]NextLevelCrossing[/b] function.
[Code]
Dim idx = LevelCrossings(Signal2 – Signal, 0, 0, EVENT_BOTH, EVENT_INDEX)
Signal[idx]
[/Code] -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.