plotting using step function
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Star Strider
on 22 Apr 2017
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.
0 Comments
See Also
Categories
Find more on Annotations 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!