what the error in this function means?

[p1,error]=polyfit(S,Q,1);
error =
R: [2x2 double]
df: 10
normr: 6.4414e-05

2 comentarios

i sow this and didnt understand the meaning of them
R: [2x2 double]
df: 10
normr: 6.4414e-05

Respuestas (1)

Star Strider
Star Strider el 10 de En. de 2019

0 votos

The second output of polyfit is a structure of values that can be used to calculate error estimates. If you want the error estimates, those will be the second output of the polyval function. See the documentation section on: Linear Regression With Error Estimate (link) for an extended discussion.

La pregunta está cerrada.

Etiquetas

Preguntada:

el 10 de En. de 2019

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by