I want to multiply admittance matrix of power electronic converter(PEC) in m.file of matlab,First i want to multiply matrix admittance of circuit to vector of
current
source to achieve nodal voltage.
the current source is dependent to voltage of node, so the vector of
current source should be updated in simulation time.
i want to implement the circuit in M.file
How i can begin to write in m.file?