Wavelet decomposition (Meyer) for a signal

2 views (last 30 days)
Hi everyone,
I want to decompose a signal with wavelet decomposition. The aim is to compare the IMF from EMD with wavelet decomposition.
Initially i used this function
[c,l] = wavedec(x,n,wname) returns the wavelet decomposition of the 1-D signal x at level n using the wavelet wname. The output decomposition structure consists of the wavelet decomposition vector c and the bookkeeping vector l, which contains the number of coefficients by level.
with:
A: raw data
n: 8
wname: meyer
When i try this i have this message:
[C,S] = wavedec(A,8,meyer);
Not enough input arguments.
Error in meyer (line 34)
tmp = log(N)/log(2);
What is the problem?
Is this the best way to obtain a multi-scale decomposition with Wavelet's method?
Thanks.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!