issues with 'stairs' input type

조회 수: 2 (최근 30일)
Mato
Mato 2022년 7월 29일
답변: Walter Roberson 2022년 7월 29일
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)

답변 (1개)

Walter Roberson
Walter Roberson 2022년 7월 29일
perhaps you are looking for stepplot()

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by