I try to simulating full state controller in Simulink. But my structure which made by gain blocks did not work.
The bottom closed loop (state-space block) works same as i expected. Same A, B matrices, same input, same structure i think but the top one did not work.
All gain blocks are setting like this:
A = [0.8053, -0.1399, -0.09017;
0.1803, 0.9857, -0.009342;
0.009342, 0.09952, 0.9997];
B = [0.04509; 0.004671; 0.0001584];
C = [0 0 1];
D = ;
x0 = [0; 0; 0];
sys = ss(A,B,C,D,-1);
desired_poles = [0.3; 0.4; 0.5]
sys.C = eye(3)
K = place(A, B, desired_poles)
System is fully controllable. What am i missing? Tried a lot of things but didn't work. Problem and solution is very easy i guess.