Borrar filtros
Borrar filtros

Linear trend line of the given data points

3 visualizaciones (últimos 30 días)
Brahmananda Pramanik
Brahmananda Pramanik el 28 de Jun. de 2011
I need to get the equation of the linear trend line of the given data points, when intercept is set to zero and I need R-squared value as well.
All these, I can get using MS-Excel. But I need to get all these information being in MATLAB function.
Please help me.

Respuestas (1)

Rick Rosson
Rick Rosson el 28 de Jun. de 2011
Please try the function polyfit:
doc polyfit
HTH.

Categorías

Más información sobre Descriptive Statistics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by