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

etwa 13 Jahre vor | 1

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 1

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 1

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

etwa 13 Jahre vor | 1

| akzeptiert

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

etwa 13 Jahre vor | 1

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

Beantwortet
Direct thresholding method for matlab
There are certainly several built-in routines for thresholding wavelet and wavelet packet coefficients in the Wavelet Toolbox fo...

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 1

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

Mehr laden