Answered
Wavelet display problem - marked difference in frequency content between 'contour' and 'imagec'
Unfortunately I don't have a lot of time at the moment to look into this, but how about just using surf() WaveT='morl'; ...

13 years ago | 0

| accepted

Answered
Calculating autocorrelation on time series data
If you have the Signal Processing Toolbox, you can use xcorr() to find the autocorrelation sequence. If you have the Economet...

13 years ago | 0

Answered
What is the difference between the complex morlet waveform and the morlet wavelet transformation (cwt)?
Complex-valued wavelets are useful in cases where you want to analyze phase as well as magnitude. Additionally, complex-valu...

13 years ago | 1

| accepted

Answered
Help using idwt3 - high and low pass filters
dwt3 returns a structure array. The 3-D wavelet coefficients are in the dec field and are ordered as explained in the documenta...

13 years ago | 0

Answered
Proper wavelet scaling / restricted frequency analysis
Yes, it is possible, but you have to remember that the CWT is not as localized in frequency as the Fourier basis, so you have to...

13 years ago | 1

| accepted

Answered
Why does line style in plot change?
That is because of the nature of your data. Your x-values are not equally spaced and they are not monotonic. Your x-values are b...

13 years ago | 0

Answered
Why does line style in plot change?
I do not get that behavior: x = 1:100; y = randn(100,1); plot(x,y,'--','LineWidth',4,'color',[.5 .5 .5]); Ca...

13 years ago | 0

Answered
Gaussian smoothing of time series
You do not tell us how many samples represents 10 days in your t variable. That is an important piece of missing information. He...

13 years ago | 0

| accepted

Answered
how to use k means
Jose-Luis has a very good suggestion. You can use kmeans() as follows: I = imread('cameraman.tif'); points = detect...

13 years ago | 0

Answered
How to cascade two IIR filters? Is the Operation Same as Convolution?
For IIR filters, you don't have the impulse response because that is infinite. I mean you can write it as an infinite series, bu...

13 years ago | 4

| accepted

Answered
I can correct the error. Help me please!!
The problem is the character you have in for "^", not sure where you entered that in from, but copy and paste the below directly...

13 years ago | 0

Answered
How can I calculate respiration rate from a respiration signal based on specific onsets?
You should be able to just do that with a frequency-domain analysis by either computing the DFT (via FFT), or using a nonparamet...

13 years ago | 0

Answered
I have a question on plotting a specific part of data from a larger section,
It looks like your sampling frequency is 20 kHz I'll just create a noise signal as an example fs = 2e4; D10 = randn...

13 years ago | 1

| accepted

Answered
Subscript indices must either be real positive integers or logicals.pls help me with dis error
You have to tell us what the sizes are of the variables in rm=rm(winSize/2:length(rm)-winSize/2); put a breakpoint in the...

13 years ago | 0

Answered
Does anyone know anything about the two functions "dct2e" and "idct2e"?Where can I find their code?
This is a possibility: <http://www.mathworks.com/matlabcentral/fileexchange/21139-circular-convolution-using-dct-and-dst/all_...

13 years ago | 0

Answered
How to find the position(index) of a floating point number in matrix?
You can use a tolerance to find the nearest floating point number. If you make the tolerance small enough, it should work. ...

13 years ago | 2

| accepted

Answered
function slope ??? Undefined function or method
slope() is not a Mathworks function, but you can use polyfit() to fit a first-order polynomial to some data and get the slope by...

13 years ago | 0

Answered
i want frequency domain spectrum of an audio file and i want to set frequency range of about 3 kHz. it is showing range upto 10 kHz. how can i modify it?
You have a couple things here. For one, you are creating a frequency vector with 0 frequency at the center. Do you really need t...

13 years ago | 0

| accepted

Answered
Where are stored values of discrete wavelet functions?
You can use wfilters() to find the values of the scaling and wavelet filters For an orthogonal wavelet, the decomposition and...

13 years ago | 0

Answered
How do I know if the finddelay function is significant?
It is not true that you will get back a delay of zero for cases when the signals are not significantly correlated at any lag. ...

13 years ago | 1

Answered
Anyone know what's up with Urs (us) Schwartz?
It looks like Urs Schwarz is still an active neuroscience researcher at Neuroscience Center Zurich so that is good news. His co...

13 years ago | 0

| accepted

Answered
I want to plot frequency vs time from the sound data(i.e. column data). I am not able to do it. Please please help. the specgramdemo function when run give at what time what frequency is present, but i want that it should return mtrx frequency vs tim
spectrogram returns matrices containing the complex-valued short-time Fourier transform and the short-time periodograms. See ...

13 years ago | 0

| accepted

Answered
How do I extract the rows of a matrix when I have the row numbers stored in another vector?
A = randi([0 4],102,3); idx = find(A(:,1) == 1); B = A(idx,:); Another way: B = A(A(:,1)==1,:);

13 years ago | 0

| accepted

Answered
anova2 is not working properly
Can you please provide your MATLAB version number? I am able to produce exactly the Anova table shown in the MATLAB documentatio...

13 years ago | 0

| accepted

Answered
Sidelobe suppression using Windowing
There are many examples of this in the Signal Processing Toolbox documentation. Just multiply the signal vector by your windo...

13 years ago | 0

Answered
How do I know if the finddelay function is significant?
If the signals are equal length, then why not use xcorr() with the 'coeff' option? Then the cross-correlation will lie in the...

13 years ago | 0

Answered
Values closest to a number
It looks like you are looking for the closest numbers where one is below 7 and one is above. If that is the case. A = [2 ...

13 years ago | 0

| accepted

Answered
what is primal ELS in lifting scheme?what does this commands do
This is essentially the same question you asked here and I answered: <http://www.mathworks.com/matlabcentral/answers/73763-ho...

13 years ago | 0

| accepted

Answered
How to take out a specific part of signal for processing?
For example (I'll just create a noise signal to demonstrate) x = randn(3e4,1); xnew = x(1e4:2e4); xnew is the signal co...

13 years ago | 0

| accepted

Answered
How can I design Adaptive Filter by using LMS algorithm??
Do you have the DSP System Toolbox? If so, see <https://www.mathworks.com/help/dsp/ref/dsp.lmsfilterclass.html> or <ht...

13 years ago | 0

Load more