Smoothing by Least Square Technique !!!
이전 댓글 표시
Hi all,

We are trying to find coefficients ' a 's for a given 200x1 t and 200x1 r(t)
r(t) = [ 1530 1215 3243 1111 ..... ]' size: 200 x 1
t = [0:0.5:99.5] size: 200 x 1
N=200
Thanks :)
채택된 답변
추가 답변 (1개)
Image Analyst
2014년 5월 21일
0 개 추천
See my attached demo for polyfit.
댓글 수: 2
Serhat
2014년 5월 21일
Image Analyst
2014년 5월 21일
I did not give constants for them. I computed all the coefficients (slope and intercept). Look again, specifically for these lines where I calculate them:
% Do the regression with polyfit
linearCoefficients = polyfit(x, y, 1)
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!