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]

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]

Answers (0)

This question is closed.

Asked:

on 2 Jun 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!