資源簡(jiǎn)介
模型是生物醫(yī)學(xué)工程專(zhuān)業(yè)建模中極其重要的知識(shí),本實(shí)驗(yàn)代碼全面而具體,方便理解,并和老師上課實(shí)驗(yàn)要求吻合。
代碼片段和文件信息
clc
clear
close?all
b=1;
a=[1?-14/24?-9/24?1/24];
N=1000;
X=filter(barandn(1N));
figure;
plot(X);
rx=xcorr(X);
figure;
plot(rx);
rx=rx/max(rx);
rx=rx(N+1:end);
figure;
plot(rx);
a=zeros(1001);
b=zeros(1001);
d=zeros(1001);
e=zeros(1001);
%k=0
e0=1;
d0=rx(1);
%k=1
p=-d0/e0;
a(1)=p;
d(1)=rx(2)+p*rx(1);
e(1)=e0*(1-p^2);
rxk
評(píng)論
共有 條評(píng)論