Answered

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 ...

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 ...

4 years ago | 1

Answered

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 ...

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 ...

4 years ago | 0

| accepted

Answered

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...

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...

4 years ago | 0

Answered

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...

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...

4 years ago | 1

| accepted

Answered

Doubt about the result of my function (dwt2)

Why are you not using wavedec2?

Doubt about the result of my function (dwt2)

Why are you not using wavedec2?

4 years ago | 0

Answered

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 ...

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 ...

4 years ago | 0

Answered

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...

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...

4 years ago | 0

Answered

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 ...

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 ...

4 years ago | 0

| accepted

Answered

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...

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...

4 years ago | 0

Answered

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...

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...

4 years ago | 1

Answered

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...

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...

4 years ago | 1

| accepted

Answered

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...

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...

4 years ago | 0

| accepted

Answered

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...

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...

4 years ago | 0

Answered

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: ...

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: ...

4 years ago | 0

| accepted

Answered

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 ...

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 ...

4 years ago | 0

Answered

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 ...

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 ...

4 years ago | 1

| accepted

Answered

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...

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...

4 years ago | 0

Answered

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...

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...

4 years ago | 1

| accepted

Answered

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...

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...

4 years ago | 0

Answered

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...

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...

4 years ago | 0

Answered

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')...

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')...

4 years ago | 0

Answered

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 ...

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 ...

4 years ago | 1

Answered

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...

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...

4 years ago | 0

Answered

Question about ilaplace()

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

Question about ilaplace()

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

4 years ago | 0

Answered

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 ...

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 ...

4 years ago | 1

Answered

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 ...

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 ...

4 years ago | 0

Answered

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,...

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,...

4 years ago | 1

| accepted

Answered

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....

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....

4 years ago | 2

| accepted

Answered

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...

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...

4 years ago | 0

Answered

Wavelet synchrosqueezed transform decomposition

Hi Marc, synchrosqueezing and the closely related continuous wavelet transform do not provide perfect reconstruction of the inpu...

Wavelet synchrosqueezed transform decomposition

Hi Marc, synchrosqueezing and the closely related continuous wavelet transform do not provide perfect reconstruction of the inpu...

4 years ago | 1

| accepted