To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
I am having a transfer function having two zeros and four poles.
G(s)= (as^2+bs+c)/(s^4+ds^3+es^2 )
I need to convert TF to statespace such that it has two inputs i.e. matrix B has two columns.I know the commands tf2ss but it gives me statespace with one input.
Use tf2ss to find A,B,C,D , change B to add any inputs you want, then rebuilt a newmodel with ss function
a=1;b=2;c=1; d=1;e=1; N=[a b c]; D=[1 d e 0 0]; [A,B,C,D]=tf2ss(N,D) B=[B [1;0;0;0]] new_model=ss(A,B,C,D)