# Is it possible to map a block diagram transfer function system on MATLAB?

7 views (last 30 days)
Joel Okanta on 13 Jan 2021
Answered: Raynier Suresh on 19 Jan 2021
I was given a task where I had to map this system:
on MATLAB and then solve this very same system on Matlab.
The thing is, I can solve it normally on paper but I do not know how to map this out on MATLAB THEN solve it from there. Believe me, I have tried searching for answers online but have found nothing so far.
Therefore it would be very helpful if I was shown how to map these kinds of systems out on MATLAB.
Thank you very much in advance.
Image Analyst on 14 Jan 2021
Whatever that is, diagram or image or whatever, post it here so people don't have to navigate away from your post and they can see everything needed right here at one time.

Raynier Suresh on 19 Jan 2021
One possible way is, you can define the block diagram as an equation and then solve it with the help of symbolic math toolbox.
For Example, to solve this block diagram in MATLAB the code below can be used. syms R G H C
eqns = (R - H*C)*G == C
Ctmp = solve(eqns,C)
TF = simplify(Ctmp/R)