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

Respuestas (1)

Star Strider
Star Strider el 22 de Abr. de 2017

0 votos

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.

Categorías

Preguntada:

el 22 de Abr. de 2017

Respondida:

el 22 de Abr. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by