num=[1 1]; den = [2 1]; tf(num,den) bode(tf(num,den)); hold on tf :传递函数 tf(x,y):x是分子,y是分母 bode:伯特图 hold on:保持