Finding the zeros for a state space model

$\begingroup$

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.

$\endgroup$ 6

1 Answer

$\begingroup$

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.

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like