Re: [R] How to find points of intersection between harmonic function and a line

2011-02-22 Thread FMH
Hi, Sorry for the very short explanation about the problem of intersection. I have a wave function monitored from the heart beat in a particular interval of times. Apart fom that, there is a line with positive slope (e.g: y = x+2) which lies across the wave and intersect on a number of

[R] How to find points of intersection between harmonic function and a line

2011-02-22 Thread FMH
Hi, Sorry for the very short explanation about the problem of intersection. I have a wave pattern monitored from the heart beat in a particular interval of times. Apart fom that, there is a line with positive slope (e.g: y = x+2) which lies across the wave and intersect on a number of

[R] How to find points of intersection between harmonic function and a line

2011-02-22 Thread FMH
Hi, Sorry for the very short explanation about the problem of intersection. I have a wave function monitored from the heart beat in a particular interval of times. Apart fom that, there is a line with positive slope (e.g: y = x+2) which lies across the wave and intersect on a number of

Re: [R] How to find points of intersection between harmonic function and a line

2011-02-22 Thread rex.dwyer
How is the curve is represented? That's more important that its organ-of-origin. If you have values of y=f(x) at discrete time points, then y-(x+2) will change sign sometimes... the intersection point is at some time x' in between. Am I missing something subtle here? You could interpolate the