📄 fig6_14.m
字号:
% Chapter 6: Figure 6.14, p. 315%% Compute and plot the roots of the characteristic% equation q(s) = s^3 + 2 s^2 + 4 s + K for 0 < K < 20.%K=[0:0.5:20 ];for i=1:length(K) q=[1 2 4 K(i)]; p(:,i)=roots(q);end plot(real(p),imag(p),'x')gridxlabel('real axis'), ylabel('imaginary axis')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -