フィルターのクリア

how to fit trend line in time series

17 ビュー (過去 30 日間)
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria 2021 年 3 月 22 日
回答済み: Star Strider 2021 年 3 月 22 日
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 Center および File ExchangeFit Postprocessing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by