MATLAB环境下基于可调Q因子小波变换的滚动轴承故障诊断
程序运行环境为MATLAB R2018a,执行基于可调Q因子小波变换的滚动轴承故障诊断。
算法可迁移至金融时间序列,地震信号,语音信号,声信号,生理信号(ECG,EEG,EMG)等一维时间序列信号
ax(1) = subplot(411);
imagesc((1:N)*win/60, (0:fmax*win)*sf, pow2db(spect1(1:fmax*win,:)));
axis xy;
set(gca,'clim',[cmin cmax])
set(ax(1),'xticklabel',[]);
ylabel('Frequency (Hz)');
colorbar
title('Periodogram')
drawnow
ax(2) = subplot(412);
imagesc((1:N)*win/60, (0:fmax*win)*sf, pow2db(spect2(1:fmax*win,:)));
axis xy;
set(gca,'clim',[cmin cmax])
set(ax(2),'xticklabel',[]);
ylabel('Frequency (Hz)');
程序代码网页链接
colorbar
title('Multitaper Spectrogram')
drawnow