Sorry for this late answer. I suppose you have already solved yr problem. In my opinion you are a bit disoriented. First of all, your code is for plotting variables, not for choosing them. On the other hand, you shouldn't identify peaks separated by hours, but by days (usually 5, more or less) to be sure that each peak corresponds to a sea state. Finally, you should play with the data matrix of Hs and the one of Time, in order to choose the max Hs, after it, chose the second max and check that is not closer of the previously chosen less than thos 5 days (or any), and so on. It is a very manual procedure. Hope this helps.
Peak over Threshold (POT) Method
12 次查看(过去 30 天)
显示 更早的评论
Can anyone help me?
I'm trying to find how to find the peaks over threshold = 3.
My code so far is:
%% PLOT TIMESERIES
figure ('color','white');
plot(Time(:,1),Hsig(:,1))
legend('Hsig')
title('Hourly Hsig values against time')
xlabel(['Day/month'])
ylabel(['Hsig wave power (P) Average'])
datetick('x','dd/mm')
print ('Hsig wave power (P) average');
----------------------------------------------------------------------
How can I use a Peak over Threshold (POT) method to identify the hours where Hsig>3m?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Clocks and Timers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!