Errors for the slope and intercept
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
How can I get the uncertainty for the slope and intercept when using this code
Const = polyfit(log10(x),log10(y), 1);
m = Const(1);
k = Const(2);
b_fit = (10^k) * (x.^m4);
댓글 수: 0
답변 (2개)
  Walter Roberson
      
      
 2018년 12월 3일
        use the two output form of polyfit and the two output form of polyval
댓글 수: 3
  Walter Roberson
      
      
 2018년 12월 3일
				okay so when you call polyval pass in log10 of the x locations and the second output will reflect that log space .
참고 항목
카테고리
				Help Center 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


