my.m

来自「是《MATLAB数字信号处理与应用》一书的源代码,该书由李正周编著 清华大学出版」· M 代码 · 共 28 行

M
28
字号
 N=512; 
 [fm,am,iflaw]=doppler(N,200,65,10,50); 
 figure;

 plot(real(am.*fm));  
 title( 'Signal in time')
 xlabel('Time');
 ylabel('real part');
 figure;
 
 plot(iflaw); 
 title( 'Instantaneous frequency estiwmation')
 xlabel('Time');
 ylabel('Nomized Frequency (Hz)');
 
 sig=sigmerge(am.*fm,noisecg(N),10);
 figure;
 plot(real(sig));
 title( 'Signal in time')
 xlabel('Time');
 ylabel('real part');
 
 [ifhat,t]=instfreq(sig,11:502,10);
 figure;
 plot(t,ifhat)
 title( 'Instantaneous frequency estiwmation')
 xlabel('Time');
 ylabel('Nomized Frequency (Hz)');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?