Find the x values of where my plot intersects a y='some constant' line

3 views (last 30 days)
Hi,
I have time series data of tidal stream velocity and want to know at which times the velocity equals a specific value.
See the plot (I'm focusing on the top right-hand subplot) ... The orange line is my tidal stream velocity over a period of 24 hours. And I want to extract at what times it becomes equal to a velocity of 1m/s (represented on the graph by the dashed black line).
I only have a velocity data point every hour, so the plot is formed from 24 data points - one every hour.
Perhaps I have to interpolate between the data points? I'm not really sure. Any help would be greatly appreciated.
Thank you!

Accepted Answer

KSSV
KSSV on 3 Dec 2018

More Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!