S_TIDE計算乘潮水位
網(wǎng)上似乎沒有公開的計算乘潮水位的程序,但是乘潮水位的計算又有重要的用途,鑒于此,S_TIDE v1.23(https://www.researchgate.net/project/A-non-stationary-tidal-analysis-toolbox-S-TIDE)添加了s_rtl函數(shù)來計算乘高/低潮水位。


例子見s_demo
load kushiro.mat
?[rHt,rLt]=s_rtl(kushiro(1:8767)/10,[1993,01,01,00,00,00],1,42.5,6,0.1,'symmetrical')
?%乘高潮水位(6小時,累積頻率10%)201.59cm
?%乘低潮水位(6小時,累積頻率10%)148.92cm
%輸入和輸出參數(shù)介紹
%the input: xin :observed water levels (missing values should be labeled as NaN)
%? ? ? ? ? stime: start time for observations (in the form similar to [2021,04,01,00,00,00])
%? ? ? ? ? dt:? sampling intervals for observation(in the unit of hour)
%? ? ? ? ? lat: latitude of observation
%? ? ? ? ? rdt: time intervals for riding tide level(in the unit of hour)
%? ? ? ? ? cp:? cumulative probability
%? ? ? ? ? tidetype: 'symmetrical' or 'asymmetrical'
%
%the output: rHt:riding high tide level
%? ? ? ? ? ? rLt:riding low tide level