Answered
Magnitude scaling in FFT and Periodogram
Hi, bin 101 is not equivalent to 101 Hz. The bins are spaced in 1 Hz increments in this case, but you are forgetting that the f...

15 years ago | 1

Answered
Magnitude scaling in FFT and Periodogram
Hi, If you are using the Signal Processing Toolbox, then the correct scaling is built into the periodogram function and the spec...

15 years ago | 2

| accepted

Answered
Wavelet Analysis Ouputs
Hi Scott, wenergy() will give the percentage of energy for the details and approximation coefficients. load noisbump [C,...

15 years ago | 0

Answered
"atan" function
Dharmesh, since cosd(beta) with beta=25 is close to one, what you essentially are plotting is the inverse tangent of the tangent...

15 years ago | 0

Answered
Paramerer setting for pmtm() multitaper method
Hi Kyle, the mainlobe is approximately [-w/n, w/n]*Fs in Hz where Fs is your sampling frequency. For a given time-bandwidth prod...

15 years ago | 0

| accepted

Answered
about separating the variable.
Yes, you can also store them in a vector x = [0 2]; % or as a column vector x =[0;2]; and then access th...

15 years ago | 0

| accepted

Answered
How to find mean of the image
What dimension do you want to concatenate along and how do you want to take the mean? X = mean(cat(2,randn(10,2),randn(10,2...

15 years ago | 0

| accepted

Answered
Undefined function or method 'piecewise' for input arguments of type 'sym'. Error
Hi Carl, Have you defined piecewise() as a function and saved your piecewise.m file in a folder that you add to the MATLAB path?...

15 years ago | 0

Answered
plz help.... ifft of 1 / (1 - fft(g(t)) )
I have the same question that Rick has in that I'm not sure what you are trying to accomplish with that operation, but you do no...

15 years ago | 0

Answered
Xcorr2 function
The difference is that xcorr2 depends on the scale of the values in the input matrices, while normxcorr2 normalizes the cross co...

15 years ago | 0

Answered
Xcorr2 function
Hi, That's because you are using max() on a matrix, which returns by default the maximum values for each column. One thing you c...

15 years ago | 0

| accepted

Answered
How to compare normal distribution value of one RGB image with another?
Hi, I'm not sure what your ultimate goal is, but you can use normfit() from the Statistics Toolbox to obtain estimates for mu, s...

15 years ago | 0

Answered
plz help.... ifft of 1 / (1 - fft(g(t)) )
Hi, If you have formulated what you want to find the inverse Fourier transform of correctly, then: ft_g1 = fft(g1); ft_g...

15 years ago | 0

Answered
wavelets
From wavedec2 you obtain a C and S vector. You can then use detcoef2 and appcoef2 to extract the detail and approximation coeffi...

15 years ago | 0

Answered
how to reverse "sort"
Hi, have you read the documentation for sort()? m = [1 6 2 8 9]; [Y,I] = sort(m,'descend'); Wayne

15 years ago | 0

Answered
Speech recognition (Isolated words 1-9)
Hi, I would recommend you look through this demo: http://www.mathworks.com/company/newsletters/digest/2010/jan/word-recogniti...

15 years ago | 0

| accepted

Answered
how to use wblfit function to calculate the weibull parameters for wind data
Hi Pratiba, Have you read the documentation for wblfit? See >>doc wblfit Wayne

15 years ago | 0

Answered
Superscript characters for tick marks
One such contribution is: http://www.mathworks.com/matlabcentral/fileexchange/15986

15 years ago | 0

Answered
undecimated wavelet transform
Hi Kalai, you can use either swt() or ndwt() (for a 1-D signal) to do the nondecimated wavelet transform. Wayne

15 years ago | 0

| accepted

Answered
wavelets
Hi Aavula, dwt2 gives you the 2D (separable) discrete wavelet transform at one level. wavedec2 gives you the 2D (separable) d...

15 years ago | 0

| accepted

Answered
How to design a digital IIR to match the frequency resp of a measured analog filter
Hi Alfredo, invfreqz expects the complex-valued frequency response. If you only have the magnitude then a suggestion close to H...

15 years ago | 0

Answered
How to design a digital IIR to match the frequency resp of a measured analog filter
Hi Alfredo, You say you have measured the frequency response. Have you measured the complex-valued response (magnitude and phase...

15 years ago | 0

Answered
image compression
Hi Pat, The 3D discrete wavelet transform is fully supported in the Wavelet Toolbox. See http://www.mathworks.com/help/tool...

15 years ago | 0

Answered
saying a message in matlab
Hi Mohammed, If you have the DSP System Toolbox, the System object dsp.AudioFileReader can read an MP3 file on Windows. Addition...

15 years ago | 1

Answered
Antenna array pattern in 3D space
Hi Tadej, In this for loop for I=1:N R=An(I)*exp(1j.*(Ep+Jp(I))); Ep=B*((Xn(I).*cos(PHI).*sin(THETA))+(Yn(I)....

15 years ago | 1

| accepted

Answered
Using wavelets for image decomposition / reconstruction
Hi Srikanth load mandrill; gives you an array of class double. What is the class of X in the output of rbg2ind? Did you...

15 years ago | 0

Answered
Get 2D approximate wavelet coefficients
Hi, If you want the approximation coefficients at level 2 load woman [C,S] = wavedec2(X,3,'db2'); A2 = appcoef2...

15 years ago | 0

Answered
Problem with wavelet decomposition-recosntruction
Hi, you haven't told us whether you modified the coefficients at all before you reconstructed the image. Did you simply execute:...

15 years ago | 0

Answered
Calculate 2 standard deviations
Hi Chris, for a matrix of data x = randn(10,4); mean(x)+2*std(x) mean(x)-2*std(x) gives the sample means of the co...

15 years ago | 1

| accepted

Answered
Haar Wavelet..
Hi Aditya, Can you be more specific what you mean by the Haar wavelet matrix? Are you attempting to implement a 1-D DWT using th...

15 years ago | 0

Load more