plotting using step function

When I plot these it doesnt give me the graph that I want. I attached 3 pictures from what the graphs should look like. I made them all step functions and all 3 graphs give me 3 lines that have what I need but all the other 3 lines arent showing what I want.
What is wrong with my code. I attached my code as well

回答 (1 件)

Star Strider
Star Strider 2017 年 4 月 22 日

0 投票

See the documentation for the feedback (link) function. It needs the first two arguments as the ‘forward’ system and the ‘feedback’ system. In your feedback calls, you only define one system in each call. It takes the 1 as the ‘feedback’ system, giving you unity negative (by default) feedback.
I may experiment with your code later. I decided to bring that to your attention first.

カテゴリ

質問済み:

2017 年 4 月 22 日

回答済み:

2017 年 4 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by