Matlab hw 3
rite code that performs the following tasks listed below. A hardcopy of the code and results, and an electronic copy of the code will be collected. Code will be executed by the instructor for testing; no errors or warnings should be present and requested output should be presented (prompt, graphical etc.). Remember to comment your code; at the top of your code write a block comment that includes your name, class (OCE 3522), lab number, program name, and date. When turning in your code on Canvas be sure to compress all your m-files into a zip file/folder (Canvas cannot upload m-files) and replace and title your folder oce3522_mlab4_lastname.zip (all in lower case, underscore instead of spaces).
1. Create a code that loads the waveheight.txt file. The first column of this data is time in seconds and the second column is water depth in feet. Detrend the wave depths in order to find wave heights. Use the findpeaks function to identify all the p
1. Create a code that loads the waveheight.txt file. The first column of this data is time in seconds and the second column is water depth in feet. Detrend the wave depths in order to find wave heights. Use the findpeaks function to identify all the p