Answer to Question #45221 in MatLAB | Mathematica | MathCAD | Maple for Roshanak
,I am trying to find peaks of whole Curve or graph or ECG .... but i dont know why in my code show peaks in y vector, while i need it in whole of ecg
If someone could point me in the right direction it would be greatly appriciated.
x = load ('C:\ekg\example_ecg.txt'); y= x ( : , 2); [pks,locs] = findpeaks(y); plot (y); hold on ; plot(pks,y(locs),'rv','MarkerFaceColor','r' ); grid on
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-45221.pdf