deseason
Remove the daily mean value from a multi-year time series. The time series t and y must be vectors of equal length and t must be daily values in datenum format.
y_deseasoned = deseason(t,y); returns the deseasoned y signal.
[y_ds,y_s] = deseason(t,y); returns the deseasoned y signal and the extracted seasonal signal such that y = y_s + y_ds.
[y_ds,y_s,annualsig] = deseason(t,y); also returns a vector of length 366 containing the annual signal where the index of annualsig corresponds to the day of the year.
This function requires Anthony Kendall's date2doy function available on the Mathworks FEX site: http://www.mathworks.com/matlabcentral/fileexchange/18316
Zitieren als
Chad Greene (2024). deseason (https://www.mathworks.com/matlabcentral/fileexchange/43222-deseason), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert von: Date to Decimal Day of Year, Get Climate Teleconnection Indices, Get Land Surface Temperatures
Inspiriert: downsample_ts, trend
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Changed behavior! Now restores DC offset. |
||
1.0.0.0 |