Is it possible to map a block diagram transfer function system on MATLAB?
58 次查看(过去 30 天)
显示 更早的评论
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 个评论
Image Analyst
2021-1-14
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.
回答(1 个)
Raynier Suresh
2021-1-19
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)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!