I would like to plot in matlab the transfer function which comes from the state-space model:
G * x + C * x’= B * ip(t)
up(t) = LT * x.
In above formula G,C have been read from a file and their size is 1882*1882, ip(t) = [i1 i2 i3 i3 i5]'
(input), up(t) = [u1 u2 u3 u4 u5]'
(output) due to a 5-port system and x = [V1 V2 .... V1161 I1 I2 .. I721]
(Number of nodes: 1161,number of inductive branches: 721).
According to theory B must be an orthogonal(in our case 1882*5) source connectivity matrix mapping uin(t)
to the MNA
vector x
. My problem is that i don't know how to generate the matrix B
with code in matlab. How could i know which positions of the matrix have 1 and how to implement this with code?
Thank you very much in advance for your help and guidance.