Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

With matlab please Write a MATLAB script file to create a program with the following requirements: A user want to record all the activities related

With matlab please image text in transcribed
Write a MATLAB script file to create a program with the following requirements: A user want to record all the activities related to his/her daily exercises. - User should be prompted the user: o To enter his/her first name. o Total number of days he/she is going to record his/her daily morning exercises. o To enter the values to represent the number of times that he/she has done a pushups. o o o (one value per day). To enter how many miles of running for the same day. To enter the maximum amount of weight lifting for the same day. Your program must prompt the user to quit. Your program should give an output similar to the following: This is John's exercise report for the past 3 days: Weight Lifting(lbs) 150 162 170 # of Pushups Running(miles) 50 65 70 Day-1 Day-2 Day-3 1.5 2.1 - Your program should create a plot for the Running miles Vs. Days - Your plot must include: o Title (in italic and Bold) o Xlabel o Ylabel o Text in anywhere inside your plot area which say: You ratio is 2 Where: ratio-average weight lifting/average number of pushups. Your program must include: o For loop or while loop o If statement

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

Principles Of Multimedia Database Systems

Authors: V.S. Subrahmanian

1st Edition

1558604669, 978-1558604667

More Books

Students also viewed these Databases questions