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

63 visualizaciones (últimos 30 días)
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.
  1 comentario
Image Analyst
Image Analyst el 14 de En. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Raynier Suresh
Raynier Suresh el 19 de En. de 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)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by