Smoothing by Least Square Technique !!!
Mostrar comentarios más antiguos
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 :)
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 21 de Mayo de 2014
0 votos
See my attached demo for polyfit.
2 comentarios
Serhat
el 21 de Mayo de 2014
Image Analyst
el 21 de Mayo de 2014
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)
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!