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

65 vues (au cours des 30 derniers jours)
Joel Okanta
Joel Okanta le 13 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.
  1 commentaire
Image Analyst
Image Analyst le 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.

Connectez-vous pour commenter.

Réponses (1)

Raynier Suresh
Raynier Suresh le 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)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by