連続ウェーブレット変​換で、円錐状影響圏を​消す方法はありますか​?

3 views (last 30 days)
Takeda Ryutaro
Takeda Ryutaro on 26 Jun 2022
Commented: Takeda Ryutaro on 26 Jun 2022
cwtで出力されるFigureで、円錐状影響圏を消す方法はありますか?

Accepted Answer

Atsushi Ueno
Atsushi Ueno on 26 Jun 2022
連続 1 次元ウェーブレット変換 - MATLAB cwt - MathWorks 日本 (CWT のスカログラムのサブプロットへのプロット)
>cwtで出力されるFigureで、円錐状影響圏を消す方法はありますか?
いいえ。円錐状影響圏の表示有無を変更するオプションはありません。ですが回避策はあります。
cwt関数にプロットさせずデータのみ受け取り、各種関数で描画すると円錐状影響圏を描画せずに済みます。
load mtlb
cwt(mtlb,Fs)
[cfs,frq] = cwt(mtlb,Fs); % cwt関数にプロットさせずデータだけ受け取る
tms = 1000*(0:numel(mtlb)-1)/Fs; % 単位[ms]でプロットする為1000倍
frq = frq * 0.001; % 単位[kHz]でプロットする為0.001倍
figure;
surface(tms,frq,abs(cfs));
axis tight;
shading flat;
title('Magnitude Scalogram');
xlabel('Time (ms)');
ylabel('Frequency (kHz)');
set(gca,'yscale','log');
set(gca, 'YTickLabel', get(gca, 'YTick'));
c = colorbar;
c.Label.String = 'Magnitude';
  1 Comment
Takeda Ryutaro
Takeda Ryutaro on 26 Jun 2022
ありがとうございます。解決しました。

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!