Answered
Does xcorr use zero padding to negate end effects?
Hi, xcorr() does pad the DFT of the input vectors to the length 2^nextpow2(2*M-1) where M is the greater length of the tw...

13 years ago | 0

Answered
Can i install matlab 2012b on windows 7 32bit?
Yes, You should be able to use MATLAB R2012b with Windows 7 32 bit, please see the Windows 32-bit table at the following link ...

13 years ago | 0

| accepted

Answered
issue with coefficients of Discrete wavelet transform
That is the entire vector of wavelet coefficients for the image down to the level you have specified. To create useful wavelet f...

13 years ago | 0

Answered
Filtering values from a curve
Sounds like you want to remove y-values greater than a certain value. One way: idx = find(y>1500); % now remove the y...

13 years ago | 0

| accepted

Answered
wavelet transform for feature vector
Hi Jack The 2D DWT is basically a subband filtering of the image in a combination of highpass and lowpass parts. For example, at...

13 years ago | 0

| accepted

Answered
How to make nonumeric x-axis values for Bar Charts
Y = [50.52 36.60 46.78 32.56]; bar(Y) set(gca,'xticklabel',{'40 feet','60 feet','120 feet'})

13 years ago | 1

Answered
how can I divide a vector in imaginary and real part ?
X_real = real(X); X_imag = imag(X); It's better style to write the unit imaginary as 1i, so 6+6*1i However, in y...

13 years ago | 0

| accepted

Answered
What is the best way to choose 'ntw' using wavelet coherence?
NTW gives the order of a moving average filter on the wavelet coefficients so the optimum value depends really on what scales ar...

13 years ago | 0

| accepted

Answered
Sum up parts of a vector?
Something like k = 1; stepsize = 288; for nn = 1:288:105210-stepsize partsum(k) = sum(vekt(nn:nn+stepsiz...

13 years ago | 0

Answered
what is the description of the line myFilterHandle = @myFilter;
The @ notation is for an anonymous function. It's a handle for a function presumably this function myFilter is defined somewh...

13 years ago | 0

| accepted

Answered
Undefined function or method 'getCameraInfo'
Where have you saved your function getCameraInfo? Once you create the getCameraInfo.m file, you have to save it in a folder a...

13 years ago | 0

| accepted

Answered
Wy error..? Need correction...
interp1 is 1-D interpolation. If you want to perform interpolation on 2-D data, see the help for interp2

13 years ago | 0

Answered
How can I find 4 or more character pattern in number array
See Loren's blog here: <http://blogs.mathworks.com/loren/2008/09/08/finding-patterns-in-arrays/> You can use strfind with ...

13 years ago | 3

Answered
how to transform images to wavwlet domain?
Walter has provided you with the correct link to category page for 2D analysis. Currently, you have to decide whether you wan...

13 years ago | 0

Answered
Problem binning data with histc()
Why do you think you can use the syntax histc(data,'Edges',edges) that is not a supported syntax. edges must be a vec...

13 years ago | 0

Answered
Why does my filtered time series approach zero as time approaches zero?
It's because your time series have a large mean value, which makes the start-up effects of the filter much more apparent. Be...

13 years ago | 0

Answered
How can I use the function ifft for a range of values of time?
Hi Marcia, If the velocity spectrum was obtained from the Fourier transform, then you have lost all time dependence. The Fourier...

13 years ago | 0

Answered
List all toolbox functions
If you are just interested in a listing, why not consult the alphabetical list of functions in the documentation? For example...

13 years ago | 0

| accepted

Answered
Error: Undefined function or method 'gamfit' for input arguments of type 'double'
This most likely means either you do not have the Statistics Toolbox installed, or you are using a version of the Statistics Too...

13 years ago | 0

Answered
Amplitude Error in amplitude Spectrum of FFT
I suspect that your frequency of interest is simply not falling on a DFT bin directly. Why do you think you need to use a power ...

13 years ago | 0

| accepted

Answered
How can I define a symbolic function over a specific region?
F=exp(-0.5*(X^2+Y^2)); ezsurf(F,[-2,2,-2,2]) In the above -2 <= X <= 2 and -2 <= Y <= 2

13 years ago | 0

Answered
How does one identify the current line being evaluated during execution?
Look at the help for dbstop For example: dbstop in FILESPEC at SUBFUN

13 years ago | 0

Answered
Warning: Imaginary parts of complex X and/or Y arguments ignored
I'm guessing from your variable, Pyy, that you are trying to plot a spectrum and f is your frequency vector. Then assuming that ...

13 years ago | 0

Answered
how to make histogram?
You simply hold on the plot and put both histograms on. Then you will want to modify the 'FaceColor' and possibly 'EdgeColor' pr...

13 years ago | 1

Answered
how to return the R-squared using lscov command
I'm not sure whether your A matrix can be interpreted as a design matrix for a linear model and B is your response vector (here ...

13 years ago | 0

Answered
How can I use string argument input as a variable name in MATLAB?
Y = randn(10,10); inputname = input('What do you want to call the matrix?\n','s'); % enter randommatrix at the comman...

13 years ago | 0

Answered
Signal power in Matlab
I'm surprised that you have a signal where you take the DFT, then you take the inverse DFT and the l2 norms are different, can y...

13 years ago | 1

| accepted

Answered
how to define a random variable in matlab code?
That depends what you mean. Generally what you mean is that you want some way of sampling from some probability law (distribu...

13 years ago | 0

Answered
Error: ()-indexing must appear last in an index expression
I'm guessing you want: for i=1:n for j=1:n b1=bu{i}(j); a1=(n*b1/(m(i)*m(j))); p{i}=a1;...

13 years ago | 0

| accepted

Answered
How to estimate spectral index of a time series??? Please help me
I'm assuming your equation is incorrect or you are using nonstandard notation. The power law process should be the frequency rai...

13 years ago | 0

| accepted

Load more