- #1
person123
- 328
- 52
- TL;DR Summary
- I'm in the process of writing MATLAB code to analyze data and I'm interested in how useful it would be for more general purposes.
Hi! I'm working on MATLAB code to analyze dat for a specific project, but I'm curious if it could made useful for more general purposes. Here's a bit of background on the project:
I'm an REU student and I was assigned to analyze data for a recently conducted experiment. The experiment took place in the wave basin at Hinsdale Wave Research Laboratory. Two wooden model houses were in the basin and impacted by waves until they broke. There were pressure gauges and load cells to measure uplift, accelerometers to determine the structural response of the building, ADVs, and wave gauges to measure water depth. Currently however, I have not analyzed accelerometer and ADV data. While analyzing data, I made it more and more automated until it became a sort of rudimentary program. Currently it can do the following (the idea being that if it were to be generalized, the user could write code to add more functions):
Is this a reasonable idea? Would it be useful for projects outside of the one I'm specifically doing? At the moment, I don't really have time to work on it if it isn't applicable to my specific assignment, but I would be definitely interested in continuing to work on it after summer if it would be a feasible idea.
Thanks in advance!
I'm an REU student and I was assigned to analyze data for a recently conducted experiment. The experiment took place in the wave basin at Hinsdale Wave Research Laboratory. Two wooden model houses were in the basin and impacted by waves until they broke. There were pressure gauges and load cells to measure uplift, accelerometers to determine the structural response of the building, ADVs, and wave gauges to measure water depth. Currently however, I have not analyzed accelerometer and ADV data. While analyzing data, I made it more and more automated until it became a sort of rudimentary program. Currently it can do the following (the idea being that if it were to be generalized, the user could write code to add more functions):
- A GUI is used to make it more user friendly.
- It can create plots comparing parameters. The title, labels, and legend title (the legend values are automatically generated based on a third parameter) are automatically generated.
- It has a constants class in which constants can be added. These include physical constants (g and water density for me), dimensions (of the house and sensor coordinates for me), the directories everything should be saved (more on that next), and the data which I extracted from the raw data (more on that in 7).
- It can automatically save figures in the proper folder and update the figures in a PowerPoint. I haven't gotten around to making it update a Word document, but a quick check online makes me think it's similar to updating a PowerPoint.
- It can automatically produce graphs from the raw data (original data, phase averaged or Fourier transform).
- It can automatically produce some other graphs more specific for me:
- Scatter plot comparing wave heights with and without house in basin.
- Animation of pressure gauge readings.
- Phase average of uplift and moment on building. A function computes the uplift and moment based on the pressure gauges (for the load cells it's easier of course).
- A comparison of two methods for computing uplift and moment from pressure gauges (using a linear regression and tributary areas for each gauge).
- A bar graph for comparing standard deviation across length of house versus along width (to see if it's fair to assume that pressure doesn't vary along width of house).
- It can automatically generate data based on the raw data. For me, this includes:
- Wave height for different trials (from wave gauge readings).
- Standard deviations for pressure gauges (mainly used for bar graph).
- Uplifts and moments for houses
Is this a reasonable idea? Would it be useful for projects outside of the one I'm specifically doing? At the moment, I don't really have time to work on it if it isn't applicable to my specific assignment, but I would be definitely interested in continuing to work on it after summer if it would be a feasible idea.
Thanks in advance!
Last edited: