Borrar filtros
Borrar filtros

how to fit trend line in time series

12 visualizaciones (últimos 30 días)
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria el 22 de Mzo. de 2021
Respondida: Star Strider el 22 de Mzo. de 2021
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?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Conditional Mean Models en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by