ksy = sym ('k');
sys = sym ('s');
kpsy = sym('kp');

A = [-10, 1, 0; 0, -1, 2*ksy; 0, 0, 0];
B = [0; 2*kpsy; 1];
C = [1 0 0];

thing = (sys * eye(3)) - A;


hmm = C * inv(thing);
hmm * B