[英]How to get/see plot of resultant series function/system in matlab?
我將MATLAB用於兩個系統的串聯互連,如下面的代碼片段所示。 如何以圖形形式(在我的代碼中為sys
)查看/顯示最終結果系列傳遞函數?
clc
clear all
close all
num1=[2];
den1=[3 4];
num2=[3];
den2=[4 1];
sys1=tf(num1,den1);
sys2=tf(num2,den2);
sys=series(sys1,sys2);
我猜這取決於您想要哪種圖形:
bode(sys)
(請參閱https://uk.mathworks.com/help/ident/ref/bode.html ) nyquist(sys)
(請參閱https://uk.mathworks.com/help/ident/ref/nyquist.html ) step(sys)
(請參閱https://uk.mathworks.com/help/ident/ref/step.html ) impulse(sys)
(請參閱https://uk.mathworks.com/help/ident/ref/impulse.html ) 例如,這是階躍響應(用Octave完成,而不是MATLAB,但代碼相同,結果相同):
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.