MATLAB Transfer Function Solving Issue

5 Ansichten (letzte 30 Tage)
John Galeck
John Galeck am 13 Jan. 2021
Bearbeitet: John Galeck am 13 Jan. 2021
I was given a task where I had to replicate this diagram and solve it on MATLAB given with my own transfer functions. The diagram to be solved: https://gyazo.com/ff485365388503f62145516447bc399a was successfully broken down until I got this answer: https://gyazo.com/6c5551d435bf3774782c2a62e984d18f
Then, I followed these same steps I had done for this question on Matlab, making sure that I did not miss a step:
Routines followed:
F1 = tf(2,[0 1 3])
F2 = tf(1,[0 1 8])
F3 = tf(1,[0 1 3])
H1 = tf(4,[0 1 2])
H2 = tf(3,[0 1 12])
H = H1/F3
F = F2 * F3
F = feedback(F,H2,+1)
F = F * F1
F = feedback(F, H)
F = feedback(F, F, +1)
With the given transfer function serving as inputs into the variables, I ended up getting this as an answer: https://gyazo.com/a11601d84e3355ca290b232f022285df
However to confirm, I did this same exact thing on a fraction calculator online and ended up getting totally different answers:
https://gyazo.com/946fa3fedb3c292bd066fe36248b707e I used the final answer(https://gyazo.com/6c5551d435bf3774782c2a62e984d18f ) to what I got on the above diagram as the "equation" for it. I ended up getting a completely different answer on the website in comparison to Matlab. Where did I go wrong on the Matlab code? Please point out my errors so that i could fill out my corrections.
Thank you in advance.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by