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

oltre 2 anni 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?

oltre 2 anni 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 ...

oltre 2 anni 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...

oltre 2 anni 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 ...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

oltre 2 anni 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...

circa 3 anni 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...

circa 3 anni 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: ...

circa 3 anni 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 ...

circa 3 anni 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 ...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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')...

circa 3 anni 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 ...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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 ...

circa 3 anni 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 ...

circa 3 anni 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,...

circa 3 anni 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....

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni ago | 1

| accepted

Answered

How to add specific rows that meet a condition?

How about just [sum(B(A<=1)) sum(B(A>1 & A<=2))]

How to add specific rows that meet a condition?

How about just [sum(B(A<=1)) sum(B(A>1 & A<=2))]

circa 3 anni ago | 0

Answered

FFT default process when samples are NOT a power of 2?

That is not part of a MathWorks' product. It is part of the this tool on the file exchange <http://www.mathworks.com/matlabcent...

FFT default process when samples are NOT a power of 2?

That is not part of a MathWorks' product. It is part of the this tool on the file exchange <http://www.mathworks.com/matlabcent...

circa 3 anni ago | 0

| accepted

Answered

Discrete Wavelet Transform-Based Satellite Image Resolution Enhancement

Hi Meena, I would start by looking at this paper <http://www.ijcsit.com/docs/Volume%25204/Vol4Issue6/ijcsit2013040619.pdf sup...

Discrete Wavelet Transform-Based Satellite Image Resolution Enhancement

Hi Meena, I would start by looking at this paper <http://www.ijcsit.com/docs/Volume%25204/Vol4Issue6/ijcsit2013040619.pdf sup...

circa 3 anni ago | 0