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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

Beantwortet
How to evaluate pdf for data containing NaN?
Why not just remove the NaNs? y = x(~isnan(x));

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 2

| akzeptiert

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Computing summation in matlab
A = ones(144,40); B = sum(A(:)); or B = sum(sum(A));

mehr als 13 Jahre vor | 0

Beantwortet
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);

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
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);...

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 3

| akzeptiert

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

mehr als 13 Jahre vor | 2

| akzeptiert

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 0

Mehr laden