deseason

版本 1.1.0.0 (2.3 KB) 作者: Chad Greene
Remove the seasonal signal from a daily time series of data.
976.0 次下载
更新时间 2014/1/31

查看许可证

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

引用格式

Chad Greene (2024). deseason (https://www.mathworks.com/matlabcentral/fileexchange/43222-deseason), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Time Series 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Changed behavior! Now restores DC offset.

1.0.0.0