How can i plot a transfer function
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, im trying to plot this transfer function but somehow i dont know exactly what is failing, here is what im trying:
syms s
D=[2+s^2 -1 0;-1 s^2+2+s*0.5*10/(s+10) -1;0 -1 2+s^2];
H=inv(D);
H11r=H(1,1)
H22r=H(2,2)
H33r=H(3,3)
s=0:0.01:5;
plot(s,H11r)
댓글 수: 2
Star Strider
2017년 3월 11일
Please explain in a bit more detail what you want to do.
I do not understand ‘H’. What are you doing?
Do you have the Control System Toolbox?
채택된 답변
Walter Roberson
2017년 3월 11일
If you have a somewhat recent MATLAB, then instead of using
s=0:0.01:5;
plot(s,H11r)
instead use
fplot(H11r, [0 5])
Otherwise:
s=0:0.01:5;
plot(s, subs(H11r))
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Stability Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!