** USING MATLAB (will not have access to the files or data but please write the code that would be used for the followin

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

** USING MATLAB (will not have access to the files or data but please write the code that would be used for the followin

Post by answerhappygod »

** USING MATLAB (will not have access to the files or data butplease write the code that would be used for the followinganyways)
Using Matlab Will Not Have Access To The Files Or Data But Please Write The Code That Would Be Used For The Followin 1
Using Matlab Will Not Have Access To The Files Or Data But Please Write The Code That Would Be Used For The Followin 1 (123.34 KiB) Viewed 18 times
Question No. 1 [25 points] An electrocardiogram records the electrical signals in the heart. a. Read the data provided in the files, ECG_Afzal_preExercise.xlsx and ECG_Afzal_postExercise.xlsx. Plot the data in each file as two subplots. The top plot should show the ECG during pre-exercise and the bottom plot should show the ECG post-exercise. Label the x and y-axis appropriately. Also, put an appropriate title for the plot. b. Calculate the heart rate during the pre and post-exercise. The total duration of the data is 10 sec. To do this you will need to count the peaks (QRS complexes) in the signals. Use the findpeaks function to identify the peaks. To learn more about findpeaks, use help. (If Matlab gives you an error saying the signal processing toolbox is required then please install the toolbox before using findpeaks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply