⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spm_wavspec_demo.m.svn-base

📁 try the matlab scripts to do various computations
💻 SVN-BASE
字号:
N=200;fs=100;t=[1:1:N]/fs;freqs=[1:45];% Single sunusoidx=sin(2*pi*10*t);p = spm_wavspec (x,freqs,fs,1);figuresubplot(2,1,1);plot(t,x);title('One sinusoid');subplot(2,1,2);imagesc(p);xlabel('Time/Samples');ylabel('Frequency');% Two sinusoidsx=x+sin(2*pi*38*t);p = spm_wavspec (x,freqs,fs);figuresubplot(2,1,1);plot(t,x);title('Two sinusoids');subplot(2,1,2);imagesc(p);xlabel('Time/Samples');ylabel('Frequency');% Chirpload chirpp = spm_wavspec (x,freqs,fs);figuresubplot(2,1,1);plot(t,x);title('Chirp');subplot(2,1,2);imagesc(p);xlabel('Time/Samples');ylabel('Frequency');

⌨️ 快捷键说明

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