myrlocus.m
来自「vTools is a toolbox for Matlab 5.3 devel」· M 代码 · 共 26 行
M
26 行
function myrlocus(channel)
% does a simple rlocus plot without too many
% objects on the picture, it was necessary
% in version 6 because MvTools couln't handle
% all the new callbacks and uicontextmenus
[r,k]=rlocus(channel);
if length(r)>0,
r=r.';
p1=plot(real(r),imag(r));
hold on;
p2=plot(real(r(1,:)),imag(r(1,:)),'xb');
p3=plot(real(r(size(r,1),:)),imag(r(size(r,1),:)),'ob');
set(p2,'MarkerSize',8);
[Xl,Yl]=rloclims(r.',0);
p4=plot(2*Xl,[0 0],':k');p5=plot([0 0],2*Yl,':k');
set(gca,'Xlim',Xl);set(gca,'Ylim',Yl);
hold off;
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?