Kalman Filter - computation of system parameters

1 visualizzazione (ultimi 30 giorni)
Ilaria Strazzulla
Ilaria Strazzulla il 8 Mar 2012
Risposto: SAI SRUJAN il 26 Set 2024
Hi, can you tell me what matlab function can compute the parameters A(k), B(k), C(k), D(k) of a system: x(k+1) = A(k)x(k) + B(k)u(k) y(k) = C(k)x(k) + D(k)u(k)

Risposte (1)

SAI SRUJAN
SAI SRUJAN il 26 Set 2024
Hello Ilaria,
To compute the system parameters ( A(k) ), ( B(k) ), ( C(k) ), and ( D(k) ) for a state-space model in MATLAB, you can use the System Identification Toolbox.
Please go through the following code sample to proceed further,
data = iddata(y, u, Ts); % y: output data, u: input data, Ts: sample time
sys = ssest(data, n); % n: order of the system
[A, B, C, D] = ssdata(sys);
Please go through the following documentation to understand more about iddata and ssest MATLAB functions,
I hope this helps!

Categorie

Scopri di più su Linear Model Identification in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by