Finding the zeros for a state space model

1.2k Views Asked by At

Finding the zeros for a state space model is easy. Just convert the SS to TF and then find the roots of numerators from the transfer function.

But it's can be done this way too:

$$C\operatorname{adj}(sI-A)B +D\det(sI-A) = 0$$

My question is if there is an algorithm to solve this in MATLAB? I Know that there is a MATLAB command named zero and tzero. But I don't want to use that.

1

There are 1 best solutions below

0
On BEST ANSWER

Here is the answer

Z = eig ([A B; C D] , [eye (size (A, 1)) B*0; C*0 D*0])
Z = Z(Z ~= 0 & isfinite(Z))% remove inf values 

Done.