how to fit trend line in time series

22 次查看(过去 30 天)
Hi. I plotted a figure of my time series but I want to calculate and fit in the trend line.
Can I use the polyfit to do this?

采纳的回答

Star Strider
Star Strider 2021-3-22
If you have the Statistics and Machine Learning Toolbox, use the refline or refcurve functions. Other options are also linked in those documentation sections.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fit Postprocessing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by