77 964
Assignments Done
Successfully Done
In August 2019

Answer to Question #45221 in MatLAB | Mathematica | MathCAD | Maple for Roshanak

Question #45221
,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
Expert's answer

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions