cplxcomp.m
来自「数字信号处理的matlab实例,数 字信号处理的matlab实例.」· M 代码 · 共 35 行
M
35 行
function I = cplxcomp(p1,p2)% I = cplxcomp(p1,p2)% Compares two complex pairs which contain the same scalar elements% but (possibly) at differrent 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:1:length(p2) for i=1:1:length(p1) if (abs(p1(i)-p2(j)) < 0.0001) I=[I,i]; end endendI=I';
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?