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:
- 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:
sys3 = feedback(sys2,H1,+1);
sys5 = feedback(sys4,sys1);
Here is the obtained output:
Figure 1 Output Transfer function of the multi-loop feedback system
Kindly refer the following documentations to learn more about “feedback” and “series” functions :
Hope this helps,
Regards,
Neelanshu