issues with 'stairs' input type

2 Ansichten (letzte 30 Tage)
Mato
Mato am 29 Jul. 2022
Beantwortet: Walter Roberson am 29 Jul. 2022
Anyone running into issues using the 'stairs' function to plot the discrete step response in 2.a) of the project? The code below gives an error saying that the input to 'stairs' is an incorrect type...which I get because 'feedback' returns a formula, not a vector. Unsure what method to use for obtaining a response vector, though, and so far documentation isn't providing answers.
c = feedback(Z,1)
stairs(c)

Antworten (1)

Walter Roberson
Walter Roberson am 29 Jul. 2022
perhaps you are looking for stepplot()

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by