Question: Develop an event detection algorithm that will automatically detect both the systolic and diastolic pressures in an arterial pressure time series using the event and

  • Develop an event detection algorithm that will automatically detect both the systolic and diastolic pressures in an arterial pressure time series using the event and feature detection techniques discussed in class.

  • The algorithm should make use of the pressure signals first and/or second derivative in addition to the pressure signal. For first and second derivative, make use of the equations in the lecture handouts (central difference for first derivative, and backward difference for second derivative). Provide a clear description of your algorithm.

  • Implement your algorithm using C, and then evaluate your algorithm by analyzing the assigned pressure data.

column 1 of .txt file is time and column 2 is the pressure

  • Your C program should:

  • Prompt the user to enter the file name, check if file exists, and if so read in data from the file.

  • Make use of the EXIT statement to terminate the program if the file does not exist, and EOF statement to test for an end-of-file condition on the file and to automatically determine the number of x or y data points in the file. Make use of dynamic memory allocation.

  • For a given data file, write to an output file (with appropriate messages and units) the locations (times) and values (in mmHg) of detected systolic and diastolic pressures.

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!