I'm looking for a function, where the result is something like this:
I tried to figure it out myself, but I have no idea how to manage it.
f(x) = ...
Thanks in advance,
closed as off topic by Steven Landsburg, Will Sawin, Chris Godsil, Noah Stein, Dan Petersen Jan 18 '13 at 17:38
Questions on MathOverflow are expected to relate to research level mathematics within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
A silly answer would be "fit a spline to your curve", but the meaningful answer tries to extract information on the condition of the heart from the characteristic features of the electrocardiogram; there is an extensive literature on this problem, see for example: