title: How to find the standard deviation s of simple linear regression coefficients Alpha and Beta in Matlab?
body: <p>I have data and I need to do a linear regression on the data to obtain</p>
  
  <p>y=Alpha*x+Beta</p>
  
  <p>Alpha and Beta are estimators given by the regression, polyfit can give me those with no problem but this is a physical science report and I need to give error estimators on those values</p>
  
  <p>I know from statistics that standard deviation exists for simple linear regression coefficients.</p>
  
  <p>How can I calculate then in Matlab</p>
  
  <p>Thank you</p>