⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cplxcomp.m

📁 the file contain many matlab signal source code and many example .
💻 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 + -