![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/488630/image.png)
How do you do Unity Feedback on Matlab? (Transfer Functions)
조회 수: 27 (최근 30일)
이전 댓글 표시
Before you get angry, no I cannot post the picture or even do anything of that matter due to the fact that the editor for this Forum got changed, so I can only leave links now. No more image options.
Main Question:
I'm doing a task that involves mapping a Transfer function diagram on MATLAB then completing that block diagram by matlab functions (such as series, parallel, etc.) to reduce the block diagram. However, I am having a problem with doing unity feedbacks on MATLAB, unity feedback looks something like this: https://gyazo.com/18228f771905641513c5b4ebf56a5439 (Note that it's an "empty" line going back)
Where the line has no "H1" feedback signal or whatever, the line is empty and normal going back to a sumamtion point behind the main transfer function block. I initially tried to do F = feedback(F, F) since the signal goes back in itself, but it did not work and instead only worked when I did F = feedback(F, 1). (To confirm how I got the right answer I did a comparison by completing on paper and check online to see if it was correct; matlab was just the odd one out)
Can anyone explain why this is the case?
댓글 수: 1
Image Analyst
2021년 1월 14일
I'm attaching the image with both the frame icon and the paper clip icon.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/488630/image.png)
답변 (1개)
Paul
2021년 1월 16일
Check the doc page for feedback()
doc feedback
In this case, the feedback line isn't "empty," it has a gain of 1 (or if you prefer H(s) = 1), which conventionally is not shown explicitly. So in the context of the feedback() command, sys1 = F and sys2 = 1 and you get the correct result.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Classical Control Design에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!