I have a question? If I have two state space models, sys1 and sys2. Then I append these two models into one model, sys.
Can I then create a LQG, LQR + Kalmanfilter, for sys? I have used Matavecontrol from GitHub to create two state space models and then merge them into one larger state space model.
For example:
sys = append(sys1, sys2)
sys =
A =
0 1 0 0
-2 -3 0 0
0 0 0 1
0 0 -3 -6
B =
0 0
1 0
0 0
0 2
C =
1 0 0 0
0 1 0 0
0 0 1 0
D =
0 0
0 0
0 0
delay = 0
type = SS
sampleTime = 0
>> step(sys)
Time assumed to be 10 seconds

Here is the answer:
It can be done by creating a LQR gain matrix and a kalman filter for sys.The rank is $n = 4$.