Transfer function from measured input signal and output signal

19 Ansichten (letzte 30 Tage)
Ill ch
Ill ch am 28 Sep. 2019
Kommentiert: Ill ch am 17 Dez. 2019
Dear Matlab and Simulink user,
Is there any way with parameter estimation toolbox or any another method to generate transfer function from multiple inputs and multiple outputs Signals?
  4 Kommentare
Ill ch
Ill ch am 28 Sep. 2019
one small query if you can help me:
if i have in output signal (data1 as a time, data 2 with value) and in input signal ( data 1 just value) how i can use this ? should i need to use in bothe same time vector or sampling time is enough instead of time vector? Thank you in advance
sys = tfest(data,np,nz) ; % data from iddata(y,u,Ts)

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 28 Sep. 2019
The sampling interval ‘Ts’ is enough. Note that all your data must be sampled all with the same sampling interval. If they are not, you need to interpolate them to the same sampling interval with the resample function first.
I usually calculate the sampling interval as:
Ts = mean(diff(time));
For iddata, the output signal ‘data2’ is ‘y’, the input signal ‘data1’ is ‘u’, and ‘Ts’ is as I described it.
  32 Kommentare
Star Strider
Star Strider am 2 Nov. 2019
It may not be necessary to round it. In any event, if you want to, the easiest way to create it with:
Ts = 0.00007
is likely to use resample with
p = 700
q = 733
or the reverse of these, depending on what you started with and what you want as an output.
Ill ch
Ill ch am 17 Dez. 2019
Hello Star,
Could you please help me for the following question?
Thank you very very much in advance

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by