MATLAB: Finding peak from plot of data points

exam questionpeak finding

I want to find the peaks (max. points) in each plot (two plots) inside a figure i attached then find the difference in time (x-axis) between found peaks. How can i do it? Any suggestions? Ideas?

Best Answer

Didn’t we solve this for your classmate a few days ago in Sound speed measurement (with two microphones)?