using conofinf to plot the cone of influence in a imagesc(time, freq, coeffs)

6 ビュー (過去 30 日間)
Paramonte
Paramonte 2012 年 12 月 14 日
コメント済み: Safura Sobri 2020 年 11 月 14 日
Hello there
I have done the cwt of a signal
coeffs=cwt(signal, scales, wavelet)
scales are obtained as this: freq=1:1: 1000 Hz
then I do the freq2scale conversion (my own routine very obvious)
scales=centfrq(wavename)./(freq*(1/fs));
so I end up having a vector of scales not equaly spaced (1/x rule)
However I want the plot to be related to the freq in Hz, so:
imagesc(time, freq, abs(coeffs)) ---works fine!!
Now I would want to put in this plot the limits of the influence cone by doing
[PLmin,PRmax] = conofinf(wavename,scales,length(x),[]);
just doing [cone] = conofinf(wavename,scales,length(x),[]); will not work because my imagesc is ploted with time versus pseudo-frquencies.
Note that scales is a non-linear vector
How do I go about putting a cone of influence in the above imagesc plot?
many regards´ para
  4 件のコメント
Paramonte
Paramonte 2016 年 4 月 11 日
Sorry for only replying now, and for your reply: I will try that code in the next few days and will come back. Cheers
Safura Sobri
Safura Sobri 2020 年 11 月 14 日
What is the variable for N?

サインインしてコメントする。

回答 (1 件)

Paramonte
Paramonte 2014 年 2 月 10 日
Anybody please?

カテゴリ

Help Center および File ExchangeContinuous Wavelet Transforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by