Réponse apportée
imhist(P,10) , imhist(P,256) What are the differences among resulting histograms?
It's the same meaning as the "regular" histogram, hist(). The number of bins in any histogram governs how coarsely or finely ...

environ 13 ans il y a | 1

Réponse apportée
I need to calculate time-evolving power spectral density using Matlab periodogram function
If you want to use Welch's method in a time-evolving manner, use buffer() to segment the signal with overlap and obtain Welch es...

environ 13 ans il y a | 0

Réponse apportée
Randperm is not returning all numbers and is duplicating some
I don't see it repeating any elements. Y = zeros(24,15); for nn = 1:15 tmp = randperm(24); Y(:,n...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Converting between zero padded and non zero padded FFT
In this simple case, you have just decreased the separation between adjacent DFT bins by a factor of 2. y = [1 2 3 4 0 0 0 ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
squared fast Fourier transform of a moving boxcar filter
Just specify the boxcar filter as the window argument in spectrogram. t=0:0.001:2; x=chirp(t,0,1,150)...

environ 13 ans il y a | 0

Réponse apportée
How i can select 206 rows randomly from excel file in matlab ?
Do you have to select them randomly directly from Excel? That is not a big data set so you can just read the data into MATLAB us...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
i got an error when i run this code ?
x=(1:100); for k=1:5 y(:,k)=k*log(x); end, plot(x,y) You forgot a semicolon, or comma after end or better yet: x=(1...

environ 13 ans il y a | 1

Réponse apportée
A very odd loop behavior
We don't know anything about Function(), but that is certainly not the case in Windows in general for ii = 1:5 ...

environ 13 ans il y a | 0

Réponse apportée
WAV read and play in a 16-bit (8kHz sampling rate) .wav file
Carlos is correct that you should not have not have an actual scalar value as the target of an assignment. It should be nbits or...

environ 13 ans il y a | 1

Réponse apportée
can anyone tell what windowfilt and "w" is doing in this program?
windowfilt is a lowpass filter that is being used a separable 2D filter here: Wsig = conv2(windowfilt,windowfilt,(Y_coef_rea...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
Could someone teach me how to add numbers in a series?
Welcome to MATLAB! Spend some time reading the MATLAB Getting Started guide. That will help you a lot. In MATLAB, the key is ...

environ 13 ans il y a | 1

Réponse apportée
Wavelet Pack Decomposition - Is there a faster way?
Do you want wavelet packet or wavelet? You say multi-level wavelet and then you say wavelet packet. If you want wavelet pack...

environ 13 ans il y a | 0

Réponse apportée
input of DWT and output of IDWT not same?
When you say they are not zero how large is the difference? You have to keep in mind that there may be small numerical differenc...

environ 13 ans il y a | 0

Réponse apportée
how to call a function with multiple output argumnts
From the command line: [RHist,GHist,BHist]= RGBHistInter(imData); You just have to save the function RGBHistInter.m in a ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How to call a defined function when any error occur instead of termination?
Why don't you use the debugging tools and set breakpoints. If it occurs in a function, you can use assignin() to create variable...

environ 13 ans il y a | 0

Réponse apportée
Generate a signal wave - Spectrum using FFT
Since this is obviously a homework problem, I'm not going to just give you answer. But since you included some code as an att...

environ 13 ans il y a | 0

Réponse apportée
What does it mean for a signal to be sparse? Is that the same thing as sparse matrix in Matlab?
Yes, that is essentially the definition. You should keep in mind that a signal may be sparse in some domain and not the other. F...

environ 13 ans il y a | 0

Réponse apportée
Error Integers can only be combined with integers of the same class, or scalar doubles when processing my sample?
The error you get is because m = 1:g; gives you a double precision vector, while a3 is int16. You can remove that error ...

environ 13 ans il y a | 0

Réponse apportée
What do wavelet transform coefficients of zero mean?
That depends on the level you are looking at. If you are looking at level 1, then zero coefficients with the Haar wavelet mean t...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
matrix Dimension Must Agree
Without more information about your image size, which you don't provide, it's hard to say, but try transposing the p matrix as I...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
what is the mathematical notation equivalent to abs(A) for matrix A?
I agree with Michael that ||A|| is not the correct notation because this is most often used for the determinant. I do not believ...

environ 13 ans il y a | 0

Réponse apportée
Direct thresholding method for matlab
There are certainly several built-in routines for thresholding wavelet and wavelet packet coefficients in the Wavelet Toolbox fo...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
how to plot random ones and zeros as sequare wave?
It is better to use stem() for this purpose s=rand(1,10)>0.5; t=1:1:10; stem(t,s,'markerfacecolor',[0 0 1])

environ 13 ans il y a | 0

Réponse apportée
how dwt and wavedec are different ? here why cA1 and C have diffrent values?
As you see, dwt() gives only a level 1 DWT, while wavedec gives you multiple levels. But you are correct that wavedec() simply i...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
how to find matrix indices
Do you want the single biggest element in the matrix? If so then, just max() will not give you that. You'll get a row vector of ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Getting back to time domain ifft
The problem is you are violating the conjugate symmetry property of a real-valued signal. You are scaling the magnitude of th...

environ 13 ans il y a | 0

Réponse apportée
audio signal in spectrogram
You can supply the window argument as a vector. Signal t=0:0.001:2; x=chirp(t,0,1,150); Now...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How to decompose following gps time series ?? Please help me
OK, I suspected but then didn't check, that was dumb of me.. So with that in mind: resid = y-yfit; % find the DFT...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How do I combine 5x1599 array to 7995x1
A = randn(100,10); B = reshape(A,10*100,1); Obviously for you that is B = reshape(A,5*1599,1);

environ 13 ans il y a | 0

Réponse apportée
how to analyze frequency response ?
I don't think you want to use freqz() for that. You want to use either spectrogram() or periodogram(), or pwelch() Which one ...

environ 13 ans il y a | 0

| A accepté

Charger plus