I was using MATLAB to automatically construct and build mathematical models from blocks. After converting the model from state space to transfer function, I found that step responses are not close to each other, why?
The command tf with state space model as an input returns the correct transfer function that would appear by manually reducing the block diagrams (i.e., the one found by William). Both responses match each other now.
I think that MathWorks should point out that ss2tf command does not work if E matrix is not an identity matrix in the state space model.
What i think is happening in the state space form is that matlab gives the answer in mormalize form. try and and create simulink block for both the transfer function and state space and run them with step input