MATLAB Answers

0

Continuous Wavelet Analysis without COI

Asked by Evan Grimes on 12 Jun 2018
Latest activity Answered by Wayne King
on 14 Jun 2018
I'm doing some wavelet analysis on a signal, but I really dont want the COI line on the plot. Any advice on how to get rid of it?

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Wayne King
on 14 Jun 2018

Hi Evan, the CWT outputs everything you need to do the plot with the cone of influence.
For example:
load kobe;
% The sampling frequency is 1 Hz
[wt,f] = cwt(kobe,1);
t = 0:numel(kobe)-1;
hp = pcolor(t,f,abs(wt));
hp.EdgeColor = 'none';
xlabel('Seconds');
set(gca,'yscale','log');
ylabel('Hz');
Hope that helps

  0 Comments

Sign in to comment.