Warning: Rank deficient 这样的警告怎么处理
我的程序是要用Pmcov求最大熵谱:结果出现Warning: Rank deficient, rank = 6,tol = 3.7899e-014.> In signal\private\arparest at 68
In armcov at 24
In signal\private\arspectra at 69
In pmcov at 57
In amplitude_single at 45
程序如下:
clear all;
clc;
a1=1.;
a2=1.;
a3=1.;
f1=10.1;
f2=10.2;
f3=10.3;
fai1=1.;
fai2=2;
fai3=3;
ntotal=100;
dt=0.005;
fs=1./dt;
t=0:dt:(ntotal-1)*dt;
x=a1*cos(2*pi*f1*t+fai1)+a2*cos(2*pi*f2*t+fai2)+a3*cos(2*pi*f3*t+fai3);
figure
subplot(311)
plot(t,x)
xlabel('t')
ylabel('A')
order=round(length(x)/3)+1;%定阶
nfft=16384;
=pmcov(x,order,nfft,fs);
[ 本帖最后由 eight 于 2008-4-9 11:37 编辑 ] 也碰到类似警告,同问下~~!!
页:
[1]