91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

利用相關(guān)函數(shù)求信號功率譜,信號的自相關(guān)函數(shù)及不同信號的互相關(guān)函數(shù)-Use of correlation function for the signal power spectrum, the signal of the autocorrelation function and different signal cross-correlation function

資源截圖

代碼片段和文件信息

%?exa060104_xcorr_xcov.m?for?example?6.1.4??
%?to?test?xcorr.m?and?xcov.m?;

clear;
N=256;
f=.1;
a1=5;
a2=3;
Mlag=N/4;

%?產(chǎn)生兩個正弦加白噪聲的數(shù)據(jù);
x=a1*sin(2*pi*f*(0:N-1))+2*randn(1N);
y=a2*sin(2*pi*f*(0:N-1))+randn(1N);
subplot(221);
plot(x(1:N/2));
grid?on;
title(‘原始信號1‘)
subplot(222);
plot(y(1:N/2));
grid?on;
title(‘原始信號2‘)

%?求這兩個數(shù)據(jù)向量的互相關(guān)函數(shù);
corrxy=xcorr(xyMlag‘unbiased‘);
subplot(223);
plot((-Mlag:1:Mlag)corrxy);
grid?on;
title(‘互相關(guān)函數(shù)‘)?

%?求這兩個數(shù)據(jù)向量的互協(xié)方差函數(shù);
covxy=xcov(xyMlag‘biased‘);
subplot(224);
plot((-Mlag:1:Mlag)covxy);?
title(‘互協(xié)方差函數(shù)‘)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????660??2004-09-17?11:04??matched?filter\exa6_4.m

?????文件????????240??2004-09-17?10:53??matched?filter\exa6_5.m

?????文件???????1264??2004-09-17?10:53??matched?filter\exa6_6.m

?????文件????????833??2004-09-17?10:53??matched?filter\exa6_7.m

?????文件????????725??2004-09-17?10:54??matched?filter\exa6_8.m

?????目錄??????????0??2008-01-25?18:29??matched?filter

-----------?---------??----------?-----??----

?????????????????3940????????????????????7


評論

共有 條評論