image thumbnail

Symbolic reduction of block diagrams and signal flow graphs

by

 

Symbolic reduction of block diagrams and signal flow graphs using Sysmbolic Math Toolbox.

Block_diagram_reduction.m
syms G1 G2 G3 G4 G5 G6
M=[1 0 0 0 0 0 0 1 1 -1;-G1 1 0 0 0 0 0 0 0 0;0 -1 1 0 0 0 1 0 0 0;0 0 -G2 1 0 0 0 0 0 0;0 0 0 -1 1 1 0 0 0 0;0 0 0 0 0 1 0 0 0 -G3;0 0 0 0 -G4 0 1 0 0 0;0 0 0 0 -G5 0 0 1 0 0;0 -G6 0 0 0  0 0 0 1 0];
N=rref(M);

Contact us