matlab应用历史Word格式.docx
《matlab应用历史Word格式.docx》由会员分享,可在线阅读,更多相关《matlab应用历史Word格式.docx(32页珍藏版)》请在冰豆网上搜索。
subplot(221);
[tfr,t,f]=tfrwv(x1);
contour(t,f,abs(tfr));
title('
WVD法T-F等高图WVD(SNR=0db)'
xlabel('
时间'
subplot(222);
[tfr,t,f]=tfrwv(x2);
WVD法T-F等高图WVD(SNR=5db)'
subplot(223);
[tfr,t,f]=tfrwv(x3);
WVD法T-F等高图WVD(SNR=10db)'
subplot(224);
[tfr,t,f]=tfrwv(x4);
WVD法T-F等高图WVD(SNR=20db)'
%subplot(221);
%plot(real(x));
%title('
幅值图'
%xlabel('
频率Hz'
%ylabel('
振幅'
%tfrwv(x1);
WVD(SNR=0db)'
时间t'
频率f'
clc
x1=fmlin(256,0.1,0.35);
x2=fmlin(256,0.2,0.4);
x=x1+x2;
[tfr,t,f]=tfrwv(x);
[tfr,t,f]=tfrstft(x);
%--11-4-21上午9:
59--%
helpsasd
a=0.004;
fs=250;
SNR=10;
n=0:
256-1;
s=0.05*sasd(256,0.8);
w1=1.72;
c=-0.025;
t0=160;
t1=100;
x0=fmlin(256,0.1,0.3);
x=x0;
x1=x+s;
plot(n,real(x1));
线性调频信号和alpha稳定随机信号的叠加'
P=(fft(x1));
plot(n/length(n),abs(P));
[tfr,t,f]=tfrstft(x1);
holdon;
STFT法T-F等高图'
[tfr1,t1,f1]=flotfrstft(x1);
contour(t1,f1,abs(tfr1));
FLOSTFT法T-F等高图'
figure
(1);
plot(n,real(x));
两个复线性调频信号'
P=fftshift(fft(x));
figure
(2);
两个复线性调频信号频谱'
figure(3);
P=fftshift(fft(x1));
figure(4);
figure(5);
[tfr,t,f]=tfrwv(x1);
WVD法T-F等高图'
figure(6);
[tfr1,t1,f1]=flotfrwv(x1);
FLOWVD法T-F等高图'
subplot(321);
subplot(322);
subplot(323);
subplot(324);
subplot(325);
subplot(326);
线性调频信号'
P=(fft(x));
线性调频信号频谱'
P=fft(x1);
[tfr,t,f]=tfrpwv(x1);
PWVD法T-F等高图'
[tfr1,t1,f1]=flotfrPwv(x1);
FLOPWVD法T-F等高图'
线性调频信号和ALPHA稳定随机信号'
性调频信号'
线性调频信号和ALPHA稳定随机信号频谱'
P1=(fft(x));
plot(n/length(n),abs(P1));
subplot(225);
subplot(226);
subplot(231);
subplot(232);
subplot(233);
subplot(234);
subplot(235);
subplot(236);
ti