How to visualise feedback function?
Show older comments
numA = [0.1];
denomA = [1 0];
C = tf(numA, denomA)
numB = [1];
denomB = [1 1];
G = tf(numB, denomB)
s = tf('s');
R = 10/s
My task is to write an M-file to find and plot the response of the following system to an input signal of R(s) = 10/s.

However, I am unable to understand the function of different parameters in the FUNCTION called feedback().
One thing I understood is that it is a closed negative loop, therefore I won't have to add 1 at the last parameter which is for positive feedback loop.
Hence, I am unsure whether to use one of these for the final output:
Given that R(s) = 10/s.
I am thinking between:
system1 = feedback(C,G)
step(R*system1)
system2 = feedback(C*G,1,-1)
step(R*system2)
What is the difference between system1 and system 2? Both are closed loops. In system 1, C and G are two different models. In system 2, C and G are treated as one model by mutliplying with unity being the other model.
What is the visual difference between system1 and system2? What am I doing wrong?
Accepted Answer
More Answers (0)
Categories
Find more on Tuning Goals 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!


