Info
此问题已关闭。 请重新打开它进行编辑或回答。
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 次查看(过去 30 天)
显示 更早的评论
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 个评论
the cyclist
2013-6-2
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.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!