📄 cplxcomp.m
字号:
function I=cplxcomp(p1,p2)
% I=cplxcomp(p1,p2)
% Compares two complex pairs which contain the same scale elements
% but(possibly)at different indices.This routine should be
% used after CPLXPAIR routine for rearranging pole vector and its
% corresponding residue vector.
% p2=cplxpair(p1)
%
I=[];
for j=1:length(p2)
for i=1:length(p1)
if (abs(p1(i)-p2(j))<0.0001)
I=[I,i];
end
end
end
I=i';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -