Question: Please do not submit a wrong one because I have to check this assignment if you want you can send me on my email: at

Please do not submit a wrong one because I have to check this assignment

if you want you can send me on my email: at my account email address

MATLAB PROJECT:

ENES 101 MATLAB Project Description `Spring 2021

Background: As some of you might know, Talal is an avid bike rider. Since the COVID-19 lockdown, most of his riding has been on an indoor trainer coupled to the online app Zwift. This project applies our MATLAB and data analysis skills to actual data collected his Zwift rides from March 30, 2021 to December 31, 2021.

The MATLAB script GetRideDataS21, which will be provided on Blackboard, creates six arrays of data: DayOfYear, DecimalMinutes, DistanceMiles, Calories, SpeedMPH,climb,and cadence. The respective units are an integer count, time in minutes, with 20.5 = 20:30, distance in miles, kcal (dietary Calories), miles per hour, feet, and strokes per minute. Download this script into your MATLAB directory. Use these arrays as instructed in the various sections of the Assignment.

All submissions should be in PDF format via the Blackboard Assignment facility.

All questions posed in the various parts of the assignment should be answered by output of text in the command window.

Assignment: This assignment has four parts due at different times.

Part 1: Create Useful Functions

Due: Monday, March 22, unless changed in class and on Blackboard Credit: One Homework Assignment: Do this assignment after reading zyBooks Chapter 3. Create the following functions in MATLAB and save them to your directory. You must use the function names provided below! Use the attached test script TestConversionsS21.m to test your functions.

kmout = MilesToKm(miles) % converts a value in miles to kilometers

kJoulesOut = CalTokJoules(DietaryCalories) % converts dietary calories (big calories) to kiloJoules (10^3 Joules = 1 kJ)

kWhrOut = KJoulesToKWHr(Kjoules) % converts kJoules to kilowatt hours metersout = FeetTokm(feet) % converts feet to

kilometers secondsout = HoursToSeconds(hours) % converts hours to seconds

Each of the functions must follow good programming practices, including appropriate help comments that will respond to MATLABs help command.

Submission: ExecutethetestscriptTestConversionsS21. PublishTestConversionsS21, its outputs, and each of your m-files to PDF form and submit them per the instructions received in discussion. A single output PDF containing all of the information is preferred, but separate files will be accepted.

The publish command is executed in the MATLAB command window, and looks like this: >> publish(,'pdf')

DO NOT include the < or > when you use publish. For example, here is a publish command that Talal used recently in another class:

>> publish('CMPE323_F19_Lab0_solution','pdf') The resultant PDF file will show up in a folder named HTML in your current MATLAB directory.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!