Physics Forums

Physics Forums (
-   Math & Science Software (
-   -   Help on conjugate gradient programm in matlab (

hdixa Apr17-11 01:33 PM

help on conjugate gradient programm in matlab
hi 1.i have a problem to find the princip to programm in matlab the method of conjugate graduate, in fact ,my broblem is:
1.i wanna study caracterisque of charge RC WHICH function is :y=a*(1-exp(b*t)) ,a is supposed to be tension maximal and b =1/RC the problem is that i have to find the parametre a and b as we have the equation y=5*(1-exp(-2*t)) + randn(length (t),1); t=1:20 ( 5 et -2 calculate theoriqement)
2. THE traitement has to be by conjugate gradient method.
in summary i have to estimate parametre a and b.

i calculate before a and b by méthode Gauss newton that's seem great , the broblem in conjugate gradient that i have not a matrix symetrique define positive
thanks for yr help
and sorry for my bad english

All times are GMT -5. The time now is 10:39 AM.

Powered by vBulletin Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2014 Physics Forums