MATLAB Transfer Function Solving Issue
5 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!