Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

It is Matlab program. Thanks in advance. Practice Challenge Graph 3 During a wor

ID: 3607657 • Letter: I

Question

It is Matlab program. Thanks in advance.

Practice Challenge Graph 3 During a workout at a constant intensity, a user's heart rate (HR) [beats/min] is calculated by: HR = 135-75 e(Ft) where F is an exponential scaling factor equal to 0.2 and t is time in minutes Heart Rate ouring Exercis Graph qualities Background is white Data is shown using a red, dashed ine of width 3 The gridline spacing, axis limits, and axis labels must match exactly to the graph shown. Title is size 16 font Ordinate label is bold, red font . Thinking Like an Engineer An Active Leaming Approech 3Eation

Explanation / Answer

The image of the graph was not clear, I coul'nt read the name of the axis. But the font size color bold thickness, background and res dashed line, axis limits have been done.

Kindly find the files below and the outputs. If you have doubts, Kindly comment. All the best :)

********************************************************************************************************************************

Codes:

File: calculateRate.m

function HR=calculateRate(t)
    for i=1:length(t)
        HR(i) = 135 - (75 * (exp(-0.2*t(i))) );
    end
end

test.m

t=linspace(0,10,200);
HR=calculateRate(t);
plot(t,HR,'--r','LineWidth',3)
whitebg('white')
xlabel('Time')%CHANGE HERE IF REQUIRED
ylabel('Heart Rate','FontSize',12,'FontWeight','bold','Color','r')%CHANGE HERE IF REQUIRED
title([' ontsize{16} Heart Rate during Exercise'])
axis([0 10 50 130])
grid on

***********************************************************************************************************************

Output:

***************************************************************************************************************************

I hope this helps you.
If you find my answer helpful,
Kindly rate the answer.
All the best :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote