I need someone to do (( MATLAB )) !

Would you like us to handle your paper? Use our company for better grades and meet your deadlines.


Order a Similar Paper Order a Different Paper

this is the assignment:

I need complete answers please pay attention to the questions listed!

302 is the recitation number. I’ll change the name

2B:

1. Create another script and name it FirstName_LastName_Rec#_MatLab2b.m and save it. Like with the template script from 2A, ensure that you have your name, 101 Spring 2019, recitation section, date, and a brief description of the script file as comments at the top of the file.

——————————-

2. You have measured the heart rate for 3 subjects of similar age, health, and fitness level before and after exercise. The results are stored in a matrix as follows:

The first column contains the heart rates of the subjects before exercise and the 2nd column contains the heart rates of the subjects after exercise. Each row represents a given subject. Example, row 1 contains the heart rate of patient 1 before and after exercise, row 2 contains the heart rates for patient 2, etc.

a. Create the matrix given above.

b. Using indexing retrieve the heart rates before exercise and store the result in a vector called BeforeExercise.

c. Using indexing retrieve the heart rates after exercise and store the results in a vector called AfterExercise.

d. Calculate the average heart rate before exercise using the command mean(BeforeExercise) and store the result in an appropriately named variable. You can do help meanto learn more about the mean function. Next, use the mean function to calculate the average heart after exercise and again store the result in an appropriately named variable. Display both values. Note, the variable names you choose should reflect what those variables are.

e. Which one is greater, average heart rate before exercise or the average heart rate after exercise? Give your answer as a comment in your script file. Write the value of both average heart rates in your comment.

Submit your FirstName_LastName_Rec#_MatLab2b.m file via your recitation by Monday 04/08 at 11:59 pm

Do you need help with this or a different assignment? We offer CONFIDENTIAL, ORIGINAL (Turnitin/LopesWrite/SafeAssign checks), and PRIVATE services using latest (within 5 years) peer-reviewed articles. Kindly click on ORDER NOW to receive an A++ paper from our masters- and PhD writers.

Get a 15% discount on your order using the following coupon code SAVE15


Order a Similar Paper Order a Different Paper