?? exp3.m
字號:
Fs=500;
x=-1+(1-(-1)).*rand(100,1);
subplot(2,2,1);
plot(x);
title('stochatic signal');
R=xcorr(x,'coeff');
subplot(2,2,2);
plot(R);
title('auto-correlation');
window=boxcar(length(x));
nfft=250;
[Pxx,f]=periodogram(x,window,nfft,Fs);
subplot(2,2,3);
plot(f,10*log10(Pxx));
title('power-spectrum');
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -