I want to simulate ECG using javascript. i have done some part using JSXGraph using static point to show ECG curve, now the problem is i need to put a slider that will vary from 60 heart beats to 200 heart beats curve will compress or expand. so can you guys tell me some java开发者_如何学运维script chart library by which i can able to do this easily or some kind of link from where i can get information regarding this
If what you are tring to do is modeling the ECG curve over time, try using Fourier series; it is a mathematical tool used to approximate periodic signals. Choose, say, 10 points on a given ECG curve, and calculate the 10 first Fourier coefficients. You should then have a rather accurate approximation of what you are trying to model.
You could consider using gRaphael, though I'm not sure this will perfectly match your requirements. http://g.raphaeljs.com/
精彩评论