Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
when i use regress(x,y),I obtain only one answer :shouldn't i get two answers which are the slope and y-intercept ? my code is x=[1 4 5 6];y=[4 6 7 9]
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
when i use regress(x,y),I obtain only one answer :shouldn't i get two answers which are the slope and y-intercept ? my code is x=[1 4 5 6];y=[4 6 7 9]
1 comentario
the cyclist
el 2 de Jun. de 2013
Duplicate question here: http://www.mathworks.com/matlabcentral/answers/77739-regress-x-y-for-least-square-regression-of-two-variables-x-y. Let's keep the discussion there.
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!