- Use the “tf” function to define the transfer functions G1, G2, G3, G4, H1, H2, and H3.
- Use the “series” function to connect the blocks in series and the “feedback” function to connect the systems with a feedback connection, as shown in the code snippet below:
For the multi-loop feedback system, get closed loop transfer function and the corresponding pole-zero map of the system.
34 views (last 30 days)
Show older comments
i need help to solve this question completely . the complete question is in file attached . please anyone who can help me to solve it in matlab ???
0 Comments
Answers (1)
nick
on 5 Jan 2024
Hello osama,
I understand from your query that you need assistance with building the block diagram and obtaining the closed-loop transfer function of the multi-loop feedback system in MATLAB.
To achieve this, you can follow the steps mentioned below:
%% Define the transfer functions
G1 = tf([1],[1 10])
G2 = tf([1],[1 1])
G3 = tf([1 0 1],[1 4 4])
G4 = tf([1 1],[1 6])
H1 = tf([1 1],[1 6])
H2 = tf([2],[1 ])
H3 = tf([1],[1])
%% Connect the individual systems using feedback or series connection
sys1 = H2/G4;
sys2 = series(G3,G4);
sys3 = feedback(sys2,H1,+1);
sys4 = series(G2, sys3);
sys5 = feedback(sys4,sys1);
sys6 = series(G1,sys5);
sys = feedback(sys6,H3)
pzmap(sys)
Here is the obtained output:
Kindly refer the following documentations to learn more about “feedback” and “series” functions :
Hope this helps,
Regards,
Neelanshu
0 Comments
See Also
Categories
Find more on Data Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!