Why is wcoher function not reccomended?
Hi Jakub and Paramonte, Jakub to answer your question, the new wcoherence is much more robust in its estimation of the phase ...

mer än 3 år ago | 1

How to extract samples from audio and hamming window?
x is just a double precision vector that should have 48000 samples. These elements are just indexed from 1 to 48000. So you can ...

mer än 3 år ago | 0

| accepted

Some bugs(?) in cwt, continuous wavelet transformation function in matlab.
Hi Minho, This is because when you call CWT with no output arguments, the CWT uses a logarithmic frequency axis, it actually use...

mer än 3 år ago | 0

Copy XLabel from axes: R2014a
You should say what version of MATLAB you are using because handle graphics changed appreciably in 14b. R2014b and on f1...

mer än 3 år ago | 1

| accepted

Doubt about the result of my function (dwt2)
Why are you not using wavedec2?

mer än 3 år ago | 0

When a signal Sub-banded using [C,L] = wavedec(S,8,waveletFunction), How should I Calculate Energy of bands like Alpha Or Beta???
The energy should be calculated on the wavelet coefficients not a reconstruction (projection) as obtained with wrcoef. For this ...

mer än 3 år ago | 0

why is 'wcoherence' not being recognised as a function?
wcoherence was introduced in R2016a. All MathWorks functions now have text at the bottom of the reference page that indicates...

mer än 3 år ago | 0

How does MATLAB handle sample size which is not power of two in discrete wavelet transformation?
MATLAB extends the signal or image based on the DWTMODE setting at the command line. In the UI, only one extension mode is used ...

mer än 3 år ago | 0

| accepted

Question about wavelet and reconstruction
One problem you are having is that DWT does not take the 3 input you are using. DWT only does a single-level wavelet transform u...

mer än 3 år ago | 0

Understanding the limitations of wmpdictionary function in MATLAB when using wavelets
It does not appear that you are creating an orthogonal wavelet with the code above. Can you possibly attach this "component" vec...

mer än 3 år ago | 1

why wavelet decomposition maximum level wmaxlev instruction returns an imaginary answer?
Can you please show us some example code that does this? The first input argument to wmaxlev is not the signal, it is the len...

mer än 3 år ago | 1

| accepted

Signal Frequency evaluation using Wavelet transform (CWT, Morlet wavelet)
Hi Marko, Do you have access to R2015b or later? If so, take a look at this example: <http://www.mathworks.com/help/wavelet/e...

nästan 4 år ago | 0

| accepted

How to reconstruct original signal from continuous wavelet coefficients
Dear Hai, I would first ask. Are you sure you need the CWT here and not the MODWT? The MODWT is limited to dyadic scales (that i...

nästan 4 år ago | 0

Can i get Pearson R value out of xcorr()
Hi Mike, if the vectors are the same length, then you can use the 'coeff' option to give you values between -1 and 1 Ex: ...

ungefär 4 år ago | 0

| accepted

How can I apply lifting scheme to my own wavelet?
Where did you get this biorthogonal filter pair? It does not satisfy the criteria for a biorthogonal (wavelet) filter pair. For ...

ungefär 4 år ago | 0

How can I apply lifting scheme to my own wavelet?
Hi Shaik, |filt2ls| is your friend. You use |filt2ls| with the filters (include both the analysis and synthesis filters) and ...

ungefär 4 år ago | 1

| accepted

Continuous wavelet transform implementation using morlet
Hi Vinod, First, I would recommend using CWTFT as opposed to CWT. The default wavelet for CWTFT is the "analytic" Morlet wavelet...

ungefär 4 år ago | 0

Discrete wavelet transform-wavedec
Hi Hai, The Haar high pass analysis filter used in DWT() which is called by WAVEDEC() is [-1/sqrt(2) 1/sqrt(2)] To demo...

ungefär 4 år ago | 1

| accepted

DWT vs. MODWT vs. EMD
EMD is an adaptive technique. This has strengths but also weaknesses so whether you might use EMD vs MODWT depends a lot on your...

ungefär 4 år ago | 0

DWT vs. MODWT vs. EMD
Marc, MODWT uses the 'sym4' wavelet by default if one is not specified. That is given in the help and documentation. Also, the...

ungefär 4 år ago | 0

wavelet decomposition of signal
Hi Smita, this is because of the setting of dwtmode. If you want to see the behavior you expect above, then do dwtmode('per')...

ungefär 4 år ago | 0

How can I reconstruct the details and approximation after using 'swt' (stationary wavelet decomposition) of the wavelet toolbox?
Hi Marie, Not directly for SWT, but there is a work around. Let me say however, that starting in R2015b there is MODWT-MODWTMRA ...

ungefär 4 år ago | 1

how to save result of for loop
Outside the loop allocate a 3D matrix of zeros Smat = zeros(n,n,p); % p here is the upper bound on the for loop Then ins...

ungefär 4 år ago | 0

I think you mean dirac(2,t) and not dirac(t,2) There is a function in Symbolic Toolbox called dirac() that takes the...

ungefär 4 år ago | 0

How to find psi function in Haar continuous wavlelet transform:CWT
Hi Hai, For the CWT you will get 10 rows. For the MODWT, the final row is the scaling coefficients as you guessed. Yes, when ...

ungefär 4 år ago | 1

Why is my fft peak frequency slightly lower than my known input signal?
Hi David, You are using the wrong sampling frequency. The actually sampling frequency is 51200. You can see this by entering ...

ungefär 4 år ago | 0

How to find psi function in Haar continuous wavlelet transform:CWT
Hi Hai Tran, If you are using dyadic scales as you do above, I think you would be better to use the MODWT (introduced in R2015b,...

ungefär 4 år ago | 1

| accepted

Why is my fft peak frequency slightly lower than my known input signal?
Hi David, we don't see what fs is in your code above, but in general your code looks like it would generate the expected answer....

ungefär 4 år ago | 2

| accepted

How do i compare FFT of signals, where Amplitude decreases by increasing sampling time?
The problem is in your x2 signal, the frequency 320 Hz does not fall in a DFT bin because you data length is 1310 samples and yo...

ungefär 4 år ago | 0