Variance of linear system model
Afficher commentaires plus anciens
I have a linear system model estimated using System Identification Toolbox.
It gives me the variances of inputs and initial state. What I need is the variance of the system output. Where do I get that?
The "Estimate State-Space Model" dialog box has a checkbox called "Estimate covariance" but that only estimate variance of the inputs and state, for example dA, dB, dC, dD, dx0. Where is the variance of the system output?
>> [A,B,C,D,K,x0,dA,dB,dC,dD,dx0] = idssdata(ss3);
>> dA
dA =
1.0e+15 *
0.1366 0.0413 0.0323
0.7838 0.3893 0.3096
1.1010 0.4438 0.3811
>> dB
dB =
1.0e+12 *
0.3205
3.7370
6.5220
>> dC
dC =
1.0e+14 *
1.5653 0.4331 0.2216
>> dD
dD =
0.0050
2 commentaires
Manikanta Aditya
le 15 Avr 2024
The variance of the system output is not directly given by the System Identification Toolbox.
The output of a state-space model is given by the equation:
y(t)=Cx(t)+Du(t)
where:
- y(t) is the output,
- x(t) is the state,
- u(t) is the input,
- C is the output matrix, and
- D is the feedthrough matrix.
Given the variances of x(t) and u(t), you can calculate the variance of y(t) as follows:
Var[y(t)]=CVar[x(t)]C′+DVar[u(t)]D′
where ' denotes the transpose of a matrix, and Var[x(t)] and Var[u(t)] are the variances of the state and input, respectively.
Hope this helps.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Time and Frequency Domain Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!