How do I find the the zero state direction and the zero input direction of a transfer matrix in Matlab?

J
johncrazliva032 · Feb 16, 2020 · 2K views
Question
I want to compute using matlab the Rosenbrock System Matrix, and in particular I am trying to do a an analysis similar to the one at the end of http://people.duke.edu/~hpgavin/ce263/zeros.pdf . So, starting from a transfer matrix I would like to show that if there is a zero at a certain position, there is a zero blocking property.   To do so, as written in the link, I have to find the zeros state direction and the zero input direction, and I am having troubles doing do.   I am considering a different system from the one in the link, so I am trying to do a similar analysis applied to another system, and I am doing this:     s = tf('s');   P = 1/(s+5); C = 6/s;   S = 1/(1+P*C); T = P*C/(1+P*C);   G_2 = [T S; S -S]; %transfer matrix   Now, I have that my transfer matrix is :   G_2   and for it I would like to do the analysis to find the zero state diretion and the zero input direction, but I am having troubles doing so.   Can somebody please help me? Thanks in advance.
Expert Answer
Profile picture of John Michell
John Michell PhD Expert
Answered Aug 14, 2026

To reproduce that analysis:

s = tf('s');
P = [2/(s^2+3*s+2) 2*s/(s^2+3*s+2); -2*s/(s^2+3*s+2) -2/(s^2+3*s+2)]
S = ss(P)

Smr = minreal(S)
A = Smr.A
B = Smr.B
C = Smr.C
D = Smr.D
trz = tzero(A,B,C,D)
RSM_1 = [eye(3)-A B; -C D]
rRSM_1 = rank(RSM_1)

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!