Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Solve in Matlab Problem 3: Heart Rate Calculation (Submit two script files, include comm The file restingHeartRate.mat contains age, e comments) column of 19 values.

Solve in Matlab image text in transcribed
Problem 3: Heart Rate Calculation (Submit two script files, include comm The file restingHeartRate.mat contains age, e comments) column of 19 values. Each row contains measures from one individual. gender, and resting heart rate columns. Each is a The Karvonen formula uses resting heart training heart rate. Using the Karvonen formula (shown below), determine The result of the program rate and a desired training intensity to calculate a target age, gender, and resting heart rate. The result of the program from one to the length each clients in the file based on their should be a fourth vector, the same size as the other three, containing training heart rate. You will need to use a for loop that cycles through each element of the arrays, of the arrays (should not be hard-coded in the program). mark erg pt file should generate a plot of Training Heart Rate vs. Resting Hear Rate (diam markers, no lines) and Age vs Resting Heart Rate (square mage enta markers, no lines) on the same graph. Karvonen Formula Assume all individuals have a low Intensity for their fitness level and therefore Intensity = 0.55 For Men: Training Heart Rate [(220- Age) - Resting Heart Rate] Intensity+ Resting Heart Rate For Women: Training Heart Rate [(206- A sample plot is shown below 0.88 * Age)- Resting Heart Rate] Intensity + Resting Heart Rate 60 o Training Heart Rate Age TO%0 100 Sample plot for Problem 4. Finally, read the information on the switch command on the following page. Rewrite your script file 85 Resting Heat Rate (BPM) using a switch structure instead of if statements

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial Databases 2nd Symposium Ssd 91 Zurich Switzerland August 1991 Proceedings Lncs 525

Authors: Oliver Gunther ,Hans-Jorg Schek

1st Edition

3540544143, 978-3540544142

More Books

Students also viewed these Databases questions

Question

Create a workflow analysis.

Answered: 1 week ago