finding maximum and minimum values

Hello I wish to find the maximum and minimum values for a tidal data.
I want to find the maximum and minimum values for each tidal cycles.
I use matlab to read these values from a excel file, As shown from picture above,
I want to find the maximum value for two peaks, and two bottoms along with the location of the values.
Any suggestions? Many Thanks

 采纳的回答

KSSV
KSSV 2017-7-19
Read about findpeaks ..also you can use max min .

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Oceanography and Hydrology 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by