plotting using step function

2 Ansichten (letzte 30 Tage)
Nicholas Greiwe
Nicholas Greiwe am 22 Apr. 2017
Beantwortet: Star Strider am 22 Apr. 2017
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

Antworten (1)

Star Strider
Star Strider am 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.

Community Treasure Hunt

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

Start Hunting!

Translated by