help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help in leasqr


From: Martin Kunz
Subject: Re: Help in leasqr
Date: Mon, 29 Aug 2016 08:55:51 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Am 26.08.2016 um 17:36 schrieb Bharath R:
dT/dt =((p(1)*(x(1)-T) -(p(2)*(T-x(2))))

I have to fit the T value to the measured T value.

Maybe I am misunderstanding the task, but if you have T measured, you can calculate dT/dt with just

y = diff (T) / samplingrate;

Now you have your lefthand side (it's one element shorter than T, handle this in a sensible way, e.g. by appending something to y or discarding one element from T later on) and might be able to use leasqr as before.

HTH,

Martin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]