Programming Assignment WCL v3

docx

School

Florida International University *

*We aren’t endorsed by this school

Course

1008C

Subject

Mechanical Engineering

Date

Dec 6, 2023

Type

docx

Pages

3

Uploaded by MegaMonkeyMaster377

Report
BME 1008c MATLAB Programming Assignment Spring 2022 Assignment #1 (10 points) Due Date: 2/11 Develop a flowchart for an interactive program that documents the vital signs of the user daily. The flowchart should include the following features: (1) It records at least heart rate, SatO2, temperature, and breathing rate. (2) It records the time at which the user inputs the data. (3) It checks the accuracy of the inputs. (4) It stores the inputs in a local file. (5) It sends the record (i.e., local file) to the user’s physician for review. (6) It obtains the diagnosis/recommendations from the user’s physician every 14 days. Assignment #2 (10 points) Due Date: 3/11 Develop an interactive MATLAB program that records vital signs (i.e., user interface). The program will ask the user to input his/her vital signs (heart rate, SatO2, and body temperature) and store the inputs in a local file. (1) Develop a flowchart for this program. a. Request user input. b. Save the inputs in a local variable. c. Display the input summary. Save the inputs in a local file. (2) Convert each block to MATLAB codes. Submission Example Element MATLAB Code Clear all; prompt = ‘Please enter your heart rate in beats/min’; hr = input(prompt); Reference https://www.mathworks.com/help/MATLAB/ref/input.html Assignment #3 (10 points) Start Get user’s heart rate
BME 1008c MATLAB Programming Assignment Spring 2022 Due Date: 4/5 Develop a MATLAB program that reads and plots the vital sign data collected during Week 1. (1) Develop a flowchart for this program. a. Request the data file name. b. Read the data file in. c. Plot the vital sign data from one team member. d. Repeat Steps a – c until the vital sign data from all team members are imported. e. Plot the vital sign data from all team members. Provide a plot example (via excel) (2) Convert each block to MATLAB Codes. Assignment #4 (30 points) Due Date: 4/22 Revise the program developed in the first assignment to incorporate input verification. (1) Develop a flowchart for this program. a. Request user input. b. Verify the input. c. Save the correct input in a local variable. d. Display all the inputs e. Save the collected inputs in a local file. (2) Convert each block to MATLAB codes.
BME 1008c MATLAB Programming Assignment Spring 2022 Bonus Assignment (15 points for Matlab, 20 points for Python) Due Date: 4/22 (1) Device a program that will calculate the total number of floors a elevator car would travel in order to fulfill the rquest list provided in a separate spreadsheet. Please note a. The start point of the elevator car is the ground floor (1). b. The elevator car will return to the ground floor (1) after completing each request. (2) Now update your program so it would calculate the total wait time (sum of the number of floors the elevator car needs to travel before starting each request) associated with the request list. (3) Now use your program to identify a strategy that will minimize (a) the total number of floors traveled by the elevator car and (b) the total wait time while fulfilling the same request list.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help