Assume that ECG waveforms are given in sequence of sampled amplitudes with no noise. Write an algorithm to find out the maximum peak and its index in the sequence. Based upon the peak indices, extend your algorithm to find out RR-interval as an average of the adjacent indices. Show transcribed image text Assume that ECG waveforms are given in sequence of sampled amplitudes with no noise. Write an algorithm to find out the maximum peak
OR
OR