MATLAB Graphical User Interface Task

Assignment Help MATLAB Programming
Reference no: EM132397066

MATLAB GUI (GRAPHICAL USER INTERFACE) TASK -

Arterial resistivity index (ARI) is a measure of pulsatile blood flow that indicates the resistance to blood flow through an artery. ARI is calculated with the following formula.

ARI = (vsystole - vdiastole)/vsystole

vsystole is the velocity during contraction and vdiastole is the velocity during relaxation. The velocity is measured using Doppler ultrasound and one data point is recorded every 3 ms. A Doppler recording is saved in the excel file PatientDoppler.xlsx.

Write a script that does the following:

1. Plot Velocity (cm/s) 'vs' time (ms) with appropriate plot title, x-label, and y-label.

2. Calculate ARI and display to command window. Please put a text indication of what is being displayed.

Note: vsystole is the maximum velocity in the dataset. vdiastole is the minimum velocity in the dataset.

3. Calculate the instantaneous heart rate from Doppler data as beats per minute and display to the command window. Please put a text indication of what is being displayed.

Note: Use the peaks to calculate heartrate.

HR = 60/(T2 - T1) where T2 and T1 are the points in time where where the maximum peaks occur.

4. Write the ARI and instantaneous heart rate values to a delimited text file called DopplerResults. The delimiter for the text file is a semicolon.

The code should be robust and handle data files of various sizes. Script will be graded for this functionality.

Bonus: If Code 1 is implemented in a GUI, you will get + 10 points added to the grade. GUI must work 100%. There are no partial bonus points. The following is required for the GUI.

ARI and heart rate are displayed to text boxes.

Data is not loaded until a load button is pressed. The GUI uses the file GUIData.txt. It contains two additional columns for a patient name and ID. The name and ID are displayed to two separate text boxes.

Note: The patient first and last name are in the same text box separated by a space. Not a period as seen in the text file.

The plot of the doppler data is on the GUI and displayed as a red solid line with appropriate title and axis labels.

The type of file to output ARI and instantaneous heart rate can be selected from a drop-down menu. The file can be saved as a csv file, or the delimited text file.

The output file is not saved until a save button is pressed.

GUI must be organized in its layout.

Reference no: EM132397066

Questions Cloud

How can work goals and performance appraisals : How can work goals and performance appraisals influence ethical and unethical behaviors?
Legal considerations on strategic planning : What is the influence of ethics, social responsibility, and legal considerations on strategic planning?
Provide a critical analysis and review of current issue : Provide a critical analysis and review of one current issue and Analysis and review must necessarily be selective. That is why it is suggested that you focus
Number of customers are pursuing strategic sourcing : A growing number of customers are pursuing strategic sourcing, in which they forge closer relationships with a smaller number of strategic distribution partners
MATLAB Graphical User Interface Task : MATLAB Graphical User Interface Task - Plot Velocity (cm/s) 'vs' time (ms) with appropriate plot title, x-label, and y-label
What are the management functions and responsibilities : What are the management functions and responsibilities within a restaurant or bar? How does the success of the restaurant or bar rely on each person's function
Explain standard mitigation technology : Explain two ways to change designs. Explain Standard Mitigation Technology. Why is Fuzzing not considered a form of mitigating threats?
In a business what might be in the organizations external : In a business what might be in the organizations external, general, or industry environment that would influence strategic planning for that company?
Perform information governance and infrastructure evaluation : Perform an information governance and infrastructure evaluation, identify gaps and document improvements.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd