Réponse apportée
how noverlap be estimated for 75% percent overlap
You should specify the noverlap on the segments of your time data, not on the value of zero-padding you may or may not use for t...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
2D Shannon Wavelet Decomposition
Hi Claire, Currently there is no 2D CWT implementation in the Wavelet Toolbox. The Shannon wavelet is a sinc in time so it does ...

environ 13 ans il y a | 0

Réponse apportée
how to covert a mx1 matrix into mxm matrix ?
X = randn(10,1); X = repmat(X,1,10); The above repeats the column vector, X, as the remaining m-1 columns of the matrix.

environ 13 ans il y a | 0

Réponse apportée
Error in using waverec2
You add noise to the image, then denoise in the wavelet domain, then reconstruct. Like this: load sinsin; Y = X +...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Error in using waverec2
Yes, but you don't need to use anything other than the C,S vectors load woman; [C,S] = wavedec2(X,2,'haar'); Xnew = wave...

environ 13 ans il y a | 0

Réponse apportée
Error in using waverec2
Why do you expect that after you have added noise to the coefficients and then inverted the wavelet transform that you would obt...

environ 13 ans il y a | 0

Réponse apportée
How to perform wavelet decomposition HPF and LPF on image separately
If you want to generate projections onto the wavelet subspaces similar to the one onto the approximation subspace you have above...

environ 13 ans il y a | 0

Réponse apportée
how i can do sub-sampling for an image with factor 4
Do you want to downsample along the row dimension, along the column dimension, or both? X = randn(24,24); % Along row o...

environ 13 ans il y a | 0

Réponse apportée
How to evaluate pdf for data containing NaN?
Why not just remove the NaNs? y = x(~isnan(x));

environ 13 ans il y a | 0

Réponse apportée
Computer Vision System Toolbox not installed.
If you are using an academic license from your university, check with your local MATLAB administrator to see if the Computer Vis...

environ 13 ans il y a | 0

Réponse apportée
Matlab coding for downsampling..............
If you have the Signal Processing Toolbox, you can use downsample() to simply downsample without lowpass filtering. Or use decim...

environ 13 ans il y a | 2

| A accepté

Réponse apportée
trying to write matlab code for Frobenius norm of an mxn matrix
Why not just use: norm(X,'fro') For example: X = randn(8,8); norm(X,'fro')

environ 13 ans il y a | 2

Réponse apportée
how to get status of matlab.?
waitbar() is certainly an option. Please see Loren's blog here: <http://blogs.mathworks.com/loren/2007/08/01/monitoring-progr...

environ 13 ans il y a | 0

Réponse apportée
Easy way to multiplying standard basis
You can just do I = eye(5); Each column of I is a standard basis vector Then, idx = [3 4]; Is = I(:,idx(1)...

environ 13 ans il y a | 0

Réponse apportée
Easy way to multiplying standard basis
I agree with the comment above that you should provide an example because it's not clear what the size of your problem is or how...

environ 13 ans il y a | 0

Réponse apportée
Why do I get a phase = 0 when I add a constant to a sinusoidal wave?
That should not happen Fs = 1000; t = 0:1/Fs:1-1/Fs; x = 2+cos(2*pi*100*t-pi/4); xdft = fft(x); % now look at the DF...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Computing summation in matlab
A = ones(144,40); B = sum(A(:)); or B = sum(sum(A));

environ 13 ans il y a | 0

Réponse apportée
Delete columns of matrices in a cell array
B = cellfun(@(x) x(:,[1 3]),A,'uni',0); or C = cellfun(@(x) x(:,1:2:end),A,'uni',0);

environ 13 ans il y a | 1

| A accepté

Réponse apportée
IFFT operation on the vector
As long as you do not zero pad, you should get back the original vector without using any scaling factor. x = randn(10,1);...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Quantile function - different values in different versions of Matlab
I get the answer 5.4 in both R2011b and in R2012b. I'm not sure why you are getting 5 in R2011b. Perhaps you are using a non-Mat...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Experiment noise data (mnoise) which follow a normal distribution with mean 0 and standard deviation of 0.024
If you have the Statistics Toolbox, then x = -0.1:1e-4:0.1; y = normpdf(x,0,0.024); plot(x,y) If not x = -0.1:1e...

environ 13 ans il y a | 0

Réponse apportée
Experiment noise data (mnoise) which follow a normal distribution with mean 0 and standard deviation of 0.024
You have to distinguish between generating random numbers (data) from some distribution and the probability density function. Th...

environ 13 ans il y a | 0

Réponse apportée
Experiment noise data (mnoise) which follow a normal distribution with mean 0 and standard deviation of 0.024
Are you sure you have to use the rand() command and not the randn() function? normpdf() is not for generating random numbers....

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Why do my amplitude become wrong when I vary the frequency from int to double?
It does not go "crazy", it only gets the amplitude wrong for the frequency f = 10.5 and this is problem I explained to you in th...

environ 13 ans il y a | 0

Réponse apportée
Why is the FFT of a constant returns 0 for the angle?
The DFT of a single constant, or a constant vector is only going to give a nonzero discrete Fourier transform coefficient at 0 f...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How can I repeat each element of a vector different times and store them in a new vector
You can get this from the file exchange. <http://www.mathworks.com/matlabcentral/fileexchange/6436-rude-a-pedestrian-run-leng...

environ 13 ans il y a | 3

| A accepté

Réponse apportée
adjusting the time interval of "For" loop
You can put a pause() in the loop for ii = 1:10 fprintf('Hi\n'); pause(10); end I've also seen reports that j...

environ 13 ans il y a | 2

| A accepté

Réponse apportée
fft, problem in determining sampling frequency
Azzi is correct in his characterization of the default x-axis. The values that you are getting with your code: A = abs(fft(t...

environ 13 ans il y a | 1

Réponse apportée
Getting the amplitude back from FFT, how to ?
By getting back do you mean finding the information in the Fourier domain? You have to know which DFT bin contains the frequency...

environ 13 ans il y a | 1

Réponse apportée
Getting the magnitude of FFT of a sine wave
You should not zero pad here because as is your frequency of 10 Hz falls directly on a DFT bin. A =1; t = 0:0.01:1-0.01; ...

environ 13 ans il y a | 0

Charger plus