plotting using step function

2 次查看(过去 30 天)
Nicholas Greiwe
Nicholas Greiwe 2017-4-22
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
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.

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by