error plotting, but succed when plotting order is change
显示 更早的评论
I am tring to plot instantaneous freq using code below,
subplot(311),instfreq(signal,srate,'Method','hilbert');
subplot(312), plot(t(1:end-1),instFreq1)
subplot(313),instfreq(signal,srate,'Method','tfmoment');ylim([0 25])
it can show two first figure but failed to plot last figure, so i change the order or plotting as
subplot(313),instfreq(signal,srate,'Method','tfmoment');ylim([0 25])
subplot(312), plot(t(1:end-1),instFreq1)
subplot(311),instfreq(signal,srate,'Method','hilbert');
ait it work, con someone explain why it happend? the error msg that i get is
Error usingenableLegacyExplorationModes
Custom axes toolbar found. Call
enableLegacyExplorationModes before
customizing the axes toolbar
Error insignalwavelet.internal.convenienceplot.plotTFR
(line 99)
enableLegacyExplorationModes(hFig);
Error ininstfreq>displayInstFreqSpectrum (line279)
signalwavelet.internal.convenienceplot.plotTFR(T,
F, 10*log10(abs(P)+eps), ...
Error in instfreq (line 128)
displayInstFreqSpectrum(Time,
instfreq, opts.Power, ...
Error in Exp_code_ch8_instantfreq
(line 40)
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!