Why am I not getting values for my step response transfer function using stepinfo
이전 댓글 표시
Using a step response transfer function, I attempted to use stepinfo to gather data on it, but for each value I get NaN or Inf:
ans =
struct with fields:
RiseTime: NaN
SettlingTime: NaN
SettlingMin: NaN
SettlingMax: NaN
Overshoot: NaN
Undershoot: NaN
Peak: Inf
PeakTime: Inf
This is my code:
num=[100, 301, 201];
den=[125, 125, -61, 40];
sys=tf(num,den)
step(sys)
stepinfo(sys)
답변 (1개)
Thjere are two poles in the right-half plane, so the system is unstable —
num=[100, 301, 201];
den=[125, 125, -61, 40];
sys=tf(num,den)
figure
pzmap(sys)
Poles = pole(sys)
Zeros = zero(sys)
figure
step(sys)
grid
stepinfo(sys)
.
카테고리
도움말 센터 및 File Exchange에서 Time and Frequency Domain Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

