Answered
Kindly explain me abt this command
I'm not sure exactly why they picked 5 here. Perhaps it's an empirical finding? If you increased it to say 20, then that wil...

14 years ago | 0

Answered
wavelte packet reconstruction
Yes, you can use wpthcoef(), that does what you want. Unless you have a very specific way you want to modify them beside hard...

14 years ago | 0

| accepted

Answered
Kindly explain me abt this command
Hi, This is comparing the mean value of the squared values of a convolution with the mean of the squared values of the waveform...

14 years ago | 0

Answered
FFT errors of the sum of exp(-a0*x)*cos(2*pi*f*x) with f1=14.58 and f2=15.74.
It's likely just the spacing of the DFT bins. You have to remember that the DFT bins are spaced at Fs/N where N is the length of...

14 years ago | 1

Answered
Choosing FFT points
The bins in the DFT are Fs/N where N is the length of the input vector and Fs is the sampling frequency. If you only want to...

14 years ago | 0

| accepted

Answered
xcorr
The frequency of your inputs is 1 Hz, or 2*pi radians per second The phase lag is pi/10 radians, which corresponds to pi/...

14 years ago | 0

| accepted

Answered
plot two waveforms at the same time
x = randn(1e2,1); y = randn(1e2,1); t = 1:100; plot(t,x,t,y); legend('x-waveform','y-waveform'); % or plot(t,x)...

14 years ago | 1

| accepted

Answered
Frequency mixing
Let X(\omega) = G(\omega-\omega_0) Then X(\omega_0) = G(0) if \omega_0 is positive, then X(\omega) is shifted to the right ...

14 years ago | 0

| accepted

Answered
Frequency mixing
Multiplying a signal g(t) by e{j\omega_0 t} shifts the spectrum to the right by \omega_0 G(\omega-\omega_0) not G(\omega+...

14 years ago | 0

Answered
fscanf
Hi Tor, fid=fopen('samematrix.mongiss', 'r') data = fscanf(fid,'%f');

14 years ago | 0

| accepted

Answered
Maximum values in intervals of time
Well, you haven't told us what the sampling interval is for your time vector, or how much data you have. But let's assume that y...

15 years ago | 0

Answered
linspace
Hint: see the help for reshape() and then think about what the transpose operator,', does

15 years ago | 0

Answered
Creating documentation for a compiled Matlab Application
Hi, Look in the MATLAB User's Guide under Create Help and Demos -> Add Documentation to the Help Browser

15 years ago | 0

Answered
waht does the command "cfs = read(wpt,'data') " return?
Hi, cfs = read(wpt,'data'); returns the coefficients in the terminal nodes of the wavelet packet tree. These are not equal...

15 years ago | 0

| accepted

Answered
u = chi2rnd(nu, [N,1]);
Hi, The degrees of freedom has nothing to do with N = 10000 The degrees of freedom is the parameter that characterizes the chi-...

15 years ago | 0

| accepted

Answered
discrete fourier transform
Hi, probably the easiest thing to do is to look at the data's spectrum and identify which frequency content you want to retain. ...

15 years ago | 0

| accepted

Answered
Spearman correlation in Matlab!
Hi, If you have the Statistics Toolbox. a = [1 4 6 3 4 6 7 8]; b = [34 56 34 56 79 23 48 28]; [RHO,PVAL] = corr(a',b','T...

15 years ago | 9

| accepted

Answered
wavelte packet reconstruction
Then just modify the terminal nodes.

15 years ago | 0

Answered
wavelet
Hi Jaffino, the term "octave" as applied to the DWT is just referring to the dyadic scales. So you take all the coefficients at ...

15 years ago | 0

| accepted

Answered
Imagesc - insert grid lines
imagesc(randn(21,21)); hold on; h1 = rectangle('position',[1 1 3 3]); set(h1,'EdgeColor',[0 0 0],'linewidth',3); h2 = ...

15 years ago | 0

| accepted

Answered
Cannot find the function "gmmsim" in COMPECON2011
Have you emailed the listed authors at <http://www4.ncsu.edu/~pfackler/compecon/toolbox.html>

15 years ago | 0

Answered
How do you convert a 4D matrix into a N by M
Hi Oliver, you can use reshape() but you have to be mindful of how the elements are filled in the 2-D matrix. For example: x...

15 years ago | 1

Answered
error in arithenco and arithdeco
arithenco() expects an input like [1 2 3 4]. what is seq?

15 years ago | 0

Answered
n-dimensional plotting in Matlab
Hi, You can't. How would you visualize say a ten-dimensional space? Even for complex-valued functions where you have two dimensi...

15 years ago | 1

| accepted

Answered
splitting a signal
The question is how do you want to split them. It sounds like you want them into the first half and second half. Assuming your s...

15 years ago | 0

Answered
ploting x,y coordinates in time
Do you want a 3-D plot with time also on the graph? See the help for plot3(), surf().

15 years ago | 0

Answered
Polyphase filter
There is no single interpolation filter. You can design different interpolators with different results. The simplest case is a c...

15 years ago | 0

Answered
plot scatter and line in same grid
Hi Your h range and your x range are very different. You are not making clear what your data is. Is h really your x measuremen...

15 years ago | 0

Answered
problem with eval notation
Hi Tor, Not sure why you want to use eval() here, but: test = struct('data',randn(10,1)); for nn = 1:9 if (e...

15 years ago | 0

Answered
sound
Just use surf() with your time, frequency, and intensity variables. t=0:0.001:2; x=chirp(t,0,1,1...

15 years ago | 0

Load more